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: Add DecodeAllCapLimit #649

Merged
merged 3 commits into from
Jul 29, 2022
Merged

zstd: Add DecodeAllCapLimit #649

merged 3 commits into from
Jul 29, 2022

Commits on Jul 27, 2022

  1. zstd: Add DecodeAllCapLimit

    WithDecodeAllCapLimit will limit DecodeAll to decoding cap(dst)-len(dst) bytes, or any size set in WithDecoderMaxMemory.
    
    This can be used to limit decoding to a specific maximum output size.
    
    Disabled by default.
    
    Fixes #647
    klauspost committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    581d92d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19b37ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da421ed View commit details
    Browse the repository at this point in the history