Description of problem:
openjpeg can dereference NULL pointer in jp2_decode() when trying to open malformed image. j2k_decode() may return NULL, if that happens, error is reported to application using openjpeg (via opj_event_msg()), but the function does not return and continues processing, which leads to NULL deref when it tries to initialize image->color_space.
This was corrected upstream via:
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '12'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 12 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Affects openjpeg-1.3-9.fc14 too.
openjpeg-1.3-10.fc14 has been submitted as an update for Fedora 14.
openjpeg-1.3-10.fc13 has been submitted as an update for Fedora 13.
openjpeg-1.3-10.fc12 has been submitted as an update for Fedora 12.
openjpeg-1.3-10.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update openjpeg'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/openjpeg-1.3-10.fc14
openjpeg-1.3-10.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
openjpeg-1.3-10.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.