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

lib/decompress: check for reserved bit corruption in zstd #3840

Merged
merged 1 commit into from Mar 5, 2024

Commits on Nov 28, 2023

  1. lib/decompress: check for reserved bit corruption in zstd

    The patch adds a validation to ensure that the last field, which is
    reserved, must be all-zeroes in ZSTD_decodeSeqHeaders. This prevents
    potential corruption from going undetected.
    
    Fixes an issue where corrupted input could lead to undefined behavior
    due to improper validation of reserved bits.
    
    Signed-off-by: aimuz <mr.imuz@gmail.com>
    aimuz committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    468bb17 View commit details
    Browse the repository at this point in the history