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

check potential overflow of compressBound() #3362

Merged
merged 2 commits into from
Dec 16, 2022
Merged

check potential overflow of compressBound() #3362

merged 2 commits into from
Dec 16, 2022

Commits on Dec 15, 2022

  1. check potential overflow of compressBound()

    fixed #3323, reported by @nigeltao
    
    Completed documentation around this risk
    (which is largely theoretical,
    I can't see that happening in any "real world" scenario,
    but an erroneous @srcSize value could indeed trigger it).
    Cyan4973 committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    45ed0df View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. added unit tests for compressBound()

    and rephrased the code documentation, as suggested by @terrelln
    Cyan4973 committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    97f63ce View commit details
    Browse the repository at this point in the history