diff options
author | leveldb Team <no-reply@google.com> | 2023-04-18 22:38:59 +0000 |
---|---|---|
committer | Austin Sullivan <asully@chromium.org> | 2023-04-20 18:09:06 +0000 |
commit | 068d5ee1a3ac40dabd00d211d5013af44be55bea (patch) | |
tree | 68c14acd3f5b5e3e3154b5ec658397dba4e960f8 /table/table_builder.cc | |
parent | c61238dcf39bdcfb6ef27abbda35b4cbf42b9002 (diff) | |
download | leveldb-main.tar.gz |
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
Diffstat (limited to 'table/table_builder.cc')
0 files changed, 0 insertions, 0 deletions