Revision cb1dc296551e01f33bdba8ba55f5fe73654269fc authored by anand76 on 12 November 2019, 00:57:49 UTC, committed by anand76 on 12 November 2019, 18:57:32 UTC
Summary:
The calculation in BlockBasedTable::MultiGet for the required buffer length for reading in compressed blocks is incorrect. It needs to take the 5-byte block trailer into account.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6014

Test Plan: Add a unit test DBBasicTest.MultiGetBufferOverrun that fails in asan_check before the fix, and passes after.

Differential Revision: D18412753

Pulled By: anand1976

fbshipit-source-id: 754dfb66be1d5f161a7efdf87be872198c7e3b72
1 parent 98e5189
Raw File
.clang-format
# Complete list of style options can be found at: 
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
---
BasedOnStyle: Google
...
back to top