ryanqq / openjpeg

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

division by zero in ceildiv functions #229

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in openjp2/opj_intmath.h opj_int_ceildiv does not check if b is zero which can 
lead to SIGFPE and thus to a Denial-of-Service in programs using openjpeg.

Original issue reported on code.google.com by groeb...@google.com on 12 Jul 2013 at 11:26

GoogleCodeExporter commented 9 years ago
test cases:
https://docs.google.com/file/d/0B1W11HkT3I43THA5a3VZd0RBR2s/edit?usp=sharing

Original comment by groeb...@google.com on 12 Jul 2013 at 11:36

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r2426.

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

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r2427.

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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r2546.

Original comment by mathieu.malaterre on 3 Mar 2014 at 11:31

GoogleCodeExporter commented 9 years ago
I'll be leaving the assert in the next release. However please note that the 
complete test suite did not trigger that assertion. I do not see where this 
could be happening.

Original comment by mathieu.malaterre on 3 Mar 2014 at 11:55