Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sstables: compressed_file_data_source_impl: get: throw malformed_ssta…
…ble_exception on premature eof Currently, the reader might dereference a null pointer if the input stream reaches eof prematurely, and read_exactly returns an empty temporary_buffer. Detect this condition before dereferencing the buffer and sstables::malformed_sstable_exception. Fixes scylladb#13599 Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
- Loading branch information