In openjpeg-2.0 the function opj_jp2_read_colr exits early due to bad BPCC
headers. If the header is too small then the function should exit but it is
possible to correctly decode an image where the BPCC header is bigger than
expected.
The attached patch caters for badly formed BPCC headers and allows them to be
decoded correctly if possible.
Original issue reported on code.google.com by slmis...@gmail.com on 6 Sep 2013 at 10:25
Original issue reported on code.google.com by
slmis...@gmail.com
on 6 Sep 2013 at 10:25Attachments: