[poppler] Heap corruption caused by wrong JPXStream import

Adam Reichold adam.reichold at t-online.de
Sun Jul 5 03:54:26 PDT 2015


Hello,

Am 05.07.2015 um 12:31 schrieb Albert Astals Cid:
> Hmmm, which app do you run to repro the crash? I just ran pdftoppm on that 
> file and worked fine with the same configuration you mention.

Various, I first noticed it due to a rendering bench using QtTest
crashing, so basically a call to Poppler::Page::renderToImage should
suffice.

I also remembered that due to Arch Linux installing the OpenJPEG headers
into a subdirectory of /usr/include, CMake actually does not find
OpenJPEG (version 1 that is) at all and will fallback to the internal
implementation of JPXStream. So this is probably the configuration that
you need to try.

Best regards, Adam.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20150705/d7011d29/attachment.sig>


More information about the poppler mailing list