leveldb/table
leveldb Team 068d5ee1a3 leveldb: Check slice length in Footer::DecodeFrom()
Without this check decoding the footer in Table::Open() can read
uninitialized bytes from a buffer allocated on the stack if the file
was unexpectedly short.

In practice this is probably fine since this function validates a magic
number but MSan complains about branching on uninitialized data.

PiperOrigin-RevId: 525271012
2023-04-20 18:09:06 +00:00
..
block_builder.cc Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
block_builder.h Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
block.cc Optimize leveldb block seeks to utilize the current iterator location. 2021-01-11 15:41:38 +00:00
block.h Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
filter_block_test.cc Remove main() from most tests. 2022-01-03 21:05:04 +00:00
filter_block.cc Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
filter_block.h Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
format.cc leveldb: Check slice length in Footer::DecodeFrom() 2023-04-20 18:09:06 +00:00
format.h Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
iterator_wrapper.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
iterator.cc Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
merger.cc Switch to using C++ 11 override specifier. 2019-05-09 14:11:06 -07:00
merger.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
table_builder.cc Support Zstd compression level in Leveldb 2023-04-20 18:08:55 +00:00
table_test.cc Support Zstd compression level in Leveldb 2023-04-20 18:08:55 +00:00
table.cc remove unnessary status judge 2020-04-24 02:00:12 +00:00
two_level_iterator.cc Switch to using C++ 11 override specifier. 2019-05-09 14:11:06 -07:00
two_level_iterator.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00