xinxinlx / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

Cater for bad BPCC headers #237

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 25 Feb 2014 at 3:48

GoogleCodeExporter commented 9 years ago
Should be fixed by r2464. Closing.

Original comment by mathieu.malaterre on 26 Feb 2014 at 4:02