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

opj_decompress: add sanity checks to avoid segfault in case of decoding error #1240

Merged
merged 1 commit into from
Apr 1, 2020

Commits on Apr 1, 2020

  1. opj_decompress: add sanity checks to avoid segfault in case of decodi…

    …ng error
    
    Prevent crashes like:
    opj_decompress -i 0722_5-1_2019.jp2 -o out.ppm -r 4 -t 0
    
    where 0722_5-1_2019.jp2 is
    https://drive.google.com/file/d/1ZxOUZg2-FKjYwa257VFLMpTXRWxEoP0a/view?usp=sharing
    rouault committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    1c54024 View commit details
    Browse the repository at this point in the history