RealmeIP / openjpeg

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

division by zero in j2k_read_siz #169

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This concerns at least version 1.5, not sure about version 2:

In j2k_read_siz, the dimensions of the tiles are never checked with JPWL 
disabled which can lead e.g. to a division by zero.

Reading through that method, it seems that without JPWL other sanity checks 
might be missing as well (such as a check for opj_calloc failure)...

Original issue reported on code.google.com by zeniko on 23 Aug 2012 at 2:49

GoogleCodeExporter commented 8 years ago
Cf. http://code.google.com/p/sumatrapdf/source/detail?r=6589

Original comment by zeniko on 23 Aug 2012 at 3:02

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r2032.

Original comment by mathieu.malaterre on 2 Oct 2012 at 7:10