[poppler] [PATCH] Fix very long loop in JPXStream::getImageParams()

Even Rouault even.rouault at mines-paris.org
Wed Dec 26 11:45:10 PST 2012


Hi,

The attached patch (against poppler 0.21.4) fixes an almost infinite loop at 
line 532 of JPXStream.cc due to dataLen < 7. Also attached the PDF to 
reproduce the bug.

Best regards,

Even
-------------- next part --------------
A non-text attachment was scrubbed...
Name: very_long_loop_in_JPXStream_getImageParams.patch
Type: text/x-patch
Size: 698 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20121226/87021c8d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: very_long_loop_in_JPXStream_getImageParams.pdf
Type: application/pdf
Size: 19845 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20121226/87021c8d/attachment.pdf>


More information about the poppler mailing list