[trunk] import commit 83dad6a76536222a3a51146f942e733a2e90ec52 from ghostpdl
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Tue, 25 Feb 2014 13:39:50 +0000 (13:39 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Tue, 25 Feb 2014 13:39:50 +0000 (13:39 +0000)
commita466755bbb02b6e02f4d1e34f5c2f32df7b71d75
treebc661099b5faeea00c8d0841107831cb1fa00696
parent901c9d8ae02a264fef45f700e11e7cda99b1d9ed
[trunk] import commit 83dad6a76536222a3a51146f942e733a2e90ec52 from ghostpdl

fix potential NULL-pointer dereference caused by testing the wrong variable
after opj_realloc (happens only in OOM situations)

Update issue 225
src/lib/openjp2/jp2.c