opj_decompress: fix double-free on input directory with mix of valid and invalid... 1262/head
authorEven Rouault <even.rouault@spatialys.com>
Sun, 28 Jun 2020 12:19:59 +0000 (14:19 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Tue, 30 Jun 2020 19:31:19 +0000 (21:31 +0200)
commite8e258ab049240c2dd1f1051b4e773b21e2d3dc0
tree279e92ed0c8220e00bc517a1886575cca68548ea
parent172c8ae5cf230ff74b5814daf29e5b577aa30a9b
opj_decompress: fix double-free on input directory with mix of valid and invalid images (CVE-2020-15389)

Fixes #1261

Credits to @Ruia-ruia for reporting and analysis.
src/bin/jp2/opj_decompress.c