mirror of
https://github.com/facebook/rocksdb.git
synced 2026-10-24 19:59:35 +03:00
Summary: Based on passing address of uninit variable in ReadOnlyMemTable::Get() in memtable.h. The contract and other implementations suggest it is a pure out parameter that is always overwritten, so we initialize it in the function before checking its value in a loop Pull Request resolved: https://github.com/facebook/rocksdb/pull/13486 Test Plan: watch build-linux-valgrind in CI Reviewed By: cbi42 Differential Revision: D71819843 Pulled By: pdillinger fbshipit-source-id: 1e06f3ee6998099791af27de5b2872eb476ceb7c