leveldb/util
cmumford 1c75e88055 Fix use of uninitialized value in LRUHandle.
If leveldb::Options::block_cache is set to a cache of zero capacity
then it is possible for LRUHandle::next to be used without having been
set.

Conditional jump or move depends on uninitialised value(s):
  leveldb::(anonymous namespace)::LRUHandle::key() const (cache.cc:58)
  leveldb::(anonymous namespace)::LRUCache::Unref(leveldb::(anonymous namespace)::LRUHandle*) (cache.cc:234)
  leveldb::(anonymous namespace)::LRUCache::Release(leveldb::Cache::Handle*) (cache.cc:266)
  leveldb::(anonymous namespace)::ShardedLRUCache::Release(leveldb::Cache::Handle*) (cache.cc:375)
  leveldb::CacheTest::Insert(int, int, int) (cache_test.cc:59)

This bug forced a commit reversion in Chromium. For more information see
https://bugs.chromium.org/p/chromium/issues/detail?id=761398#c4

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=170749054
2017-10-03 11:30:48 -07:00
..
arena_test.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
arena.cc Resolve race when getting approximate-memory-usage property 2015-12-09 11:27:50 -08:00
arena.h Resolve race when getting approximate-memory-usage property 2015-12-09 11:27:50 -08:00
bloom_test.cc Fix size_t/int comparison/conversion issues in leveldb. 2015-12-09 10:34:58 -08:00
bloom.cc Fix size_t/int comparison/conversion issues in leveldb. 2015-12-09 10:34:58 -08:00
cache_test.cc Fix use of uninitialized value in LRUHandle. 2017-10-03 11:30:48 -07:00
cache.cc Fix use of uninitialized value in LRUHandle. 2017-10-03 11:30:48 -07:00
coding_test.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
coding.cc Update to leveldb 1.6 2012-10-12 11:53:12 -07:00
coding.h A number of fixes: 2011-10-31 17:22:06 +00:00
comparator.cc Remove static initializer; fix endian-ness detection; fix build on 2012-05-30 09:45:46 -07:00
crc32c_test.cc A number of fixes: 2011-10-31 17:22:06 +00:00
crc32c.cc Use portable CRC32C from google/crc32c. 2017-09-26 18:50:41 -07:00
crc32c.h A number of fixes: 2011-10-31 17:22:06 +00:00
env_posix_test_helper.h Limit the number of read-only files the POSIX Env will have open. 2017-01-04 09:13:20 -08:00
env_posix_test.cc Separate Env tests from PosixEnv tests. 2017-03-01 13:53:23 -08:00
env_posix.cc Fix issue 474: a race between the f*_unlocked() STDIO calls in 2017-10-03 11:27:09 -07:00
env_test.cc Fix issue 474: a race between the f*_unlocked() STDIO calls in 2017-10-03 11:27:09 -07:00
env.cc LevelDB now attempts to reuse the preceding MANIFEST and log file when re-opened. 2015-08-11 14:56:39 -07:00
filter_policy.cc Added bloom filter support. 2012-04-17 08:36:46 -07:00
hash_test.cc Release 1.18 2014-09-16 14:19:52 -07:00
hash.cc Release 1.18 2014-09-16 14:19:52 -07:00
hash.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
histogram.cc A number of fixes: 2011-10-31 17:22:06 +00:00
histogram.h A number of fixes: 2011-10-31 17:22:06 +00:00
logging.cc Switched variable type from int to uint64_t in ConsumeDecimalNumber. 2017-08-24 15:40:54 -07:00
logging.h Release 1.18 2014-09-16 14:19:52 -07:00
mutexlock.h Update to leveldb 1.6 2012-10-12 11:53:12 -07:00
options.cc Add option for max file size. The currend hard-coded value of 2M is inefficient in colossus. 2016-09-28 10:52:24 -07:00
posix_logger.h A number of fixes: 2011-10-31 17:22:06 +00:00
random.h LevelDB 1.13 2013-08-21 11:12:47 -07:00
status.cc A number of fixes: 2011-10-31 17:22:06 +00:00
testharness.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
testharness.h A number of fixes: 2011-10-31 17:22:06 +00:00
testutil.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
testutil.h LevelDB now attempts to reuse the preceding MANIFEST and log file when re-opened. 2015-08-11 14:56:39 -07:00