Skip to content

fix: pad StreamVByte decode input#193

Open
sanikolaev wants to merge 1 commit into
masterfrom
fix/svb-decode-padding
Open

fix: pad StreamVByte decode input#193
sanikolaev wants to merge 1 commit into
masterfrom
fix/svb-decode-padding

Conversation

@sanikolaev

@sanikolaev sanikolaev commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

StreamVByte decoders can read past the exact compressed stream. Secondary index block data loaded from disk is rounded to uint32_t words, so provide explicit zero padding before decode instead of relying on adjacent memory.

Related issue: #192
Related PR in the daemon with tests: manticoresoftware/manticoresearch#4708

StreamVByte decoders can read past the exact compressed stream. Secondary index block data loaded from disk is rounded to uint32_t words, so provide explicit zero padding before decode instead of relying on adjacent memory.

Related issue: #192
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant