Bug 305471 - libjasper crash viewing a jpeg2000 file
Summary: libjasper crash viewing a jpeg2000 file
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: jasper
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-25 16:46 UTC by Ville Skyttä
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-10-03 12:51:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Backtrace of libjasper crash (4.38 KB, patch)
2007-09-25 16:46 UTC, Ville Skyttä
no flags Details | Diff

Description Ville Skyttä 2007-09-25 16:46:40 UTC
Get http://www.fnordware.com/j2k/relax.jp2 from
http://www.fnordware.com/j2k/jp2samples.html , try to view it with an app that
uses jasper such as jiv -> crash (assertion failure).

$ rpm -q jasper
jasper-1.900.1-2.fc7.x86_64

$ jiv relax.jp2
ICC Profile CS 52474220
jiv: jp2_dec.c:299: jp2_decode: Assertion `dec->image->cmprof_' failed.
Aborted (core dumped)

Backtrace attached.

Comment 1 Ville Skyttä 2007-09-25 16:46:40 UTC
Created attachment 205661 [details]
Backtrace of libjasper crash

Comment 2 Rex Dieter 2007-10-01 13:17:46 UTC
Here's the comment I received on the jasper ml:
      "Image was produce by Kakadu 3.2. None of new Kakadu software 
(http://www.kakadusoftware.com/) could display it correctly. So it 
must be a wrong encoded image in early implementation."

So, the evidence (so far) points to an incorrect image, Closing->NOTABUG.

Please reopen if you find other examples on non-working jp2 images.


Comment 3 Ville Skyttä 2007-10-01 15:59:49 UTC
If the image is faulty, not displaying and gracefully erroring out would be
fine, but I think crashing/aborting is definitely not ok (DoS, ditto possibly
for apps that are linked against libjasper, such as kdelibs...)

Comment 4 Rex Dieter 2007-10-03 12:51:56 UTC
upstream has been notified.


Note You need to log in before you can comment on or make changes to this bug.