Skip to content

[fuzzer] Fuzz frame info functions#1590

Merged
terrelln merged 5 commits intofacebook:devfrom
terrelln:frame-info-fuzz
Apr 17, 2019
Merged

[fuzzer] Fuzz frame info functions#1590
terrelln merged 5 commits intofacebook:devfrom
terrelln:frame-info-fuzz

Conversation

@terrelln
Copy link
Copy Markdown
Contributor

  • Write a fuzzer that fuzzes all the helper functions that take compressed input.
  • Found an out-of-bounds read in ZSTD_decompressBound().
  • Fix a bug where ZSTD_findDecompressedSize() would return a zstd error code if readSkippableFrameSize() failed.

The function didn't verify that the skippable frame size is correct.
Add a fuzzer that fuzzes all helper functions that take compressed
input. This fuzzer caught one out of bounds read in
`ZSTD_decompressBound()`.
@terrelln terrelln merged commit af3531e into facebook:dev Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants