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

Even Rouault even.rouault at mines-paris.org
Wed Dec 26 12:23:01 PST 2012


Le mercredi 26 décembre 2012 20:45:10, Even Rouault a écrit :
> 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.

A v2 of the patch, with another file that triggered it.

> 
> Best regards,
> 
> Even
-------------- next part --------------
A non-text attachment was scrubbed...
Name: very_long_loop_in_JPXStream_getImageParams_v2.patch
Type: text/x-patch
Size: 768 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20121226/f538e8bf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: very_long_loop_in_JPXStream_getImageParams_v2.pdf
Type: application/pdf
Size: 19845 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20121226/f538e8bf/attachment.pdf>


More information about the poppler mailing list