diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-04-01 20:58:55 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-04-01 21:11:36 +0200 |
| commit | 1c54024165fd5db0e6047f28903274eb27d0980f (patch) | |
| tree | 86ce2c02bf2cc2f11cab5bd7130a66d4ce34381c /scripts/prepare-commit.sh | |
| parent | 563ecfb55ca77c0fc5ea19e4885e00f55ec82ca9 (diff) | |
opj_decompress: add sanity checks to avoid segfault in case of decoding 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
Diffstat (limited to 'scripts/prepare-commit.sh')
0 files changed, 0 insertions, 0 deletions
