mirror of
https://github.com/google/leveldb.git
synced 2026-08-18 10:33:27 +08:00
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
5.2 KiB
5.2 KiB