Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zstd: Check FSE init values #772

Merged
merged 3 commits into from
Mar 10, 2023
Merged

zstd: Check FSE init values #772

merged 3 commits into from
Mar 10, 2023

Commits on Mar 10, 2023

  1. zstd: Check FSE init values

    If `br.init(s.br.unread())` fails, it may decode bogus data if previous block returned without reading everything from the bit reader. This is used to feed the huff0 table for literal decoding.
    
    Return error correctly.
    
    Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=56870
    
    Add parsing of OSS reported input.
    klauspost committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    cc392db View commit details
    Browse the repository at this point in the history
  2. Don't use file (yet)

    Fail on error nilness mismatch
    klauspost committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    c13a62e View commit details
    Browse the repository at this point in the history
  3. Revert useless file change

    klauspost committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    fc1dda4 View commit details
    Browse the repository at this point in the history