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

Albert Astals Cid aacid at kde.org
Thu Dec 27 16:00:26 PST 2012


El Dimecres, 26 de desembre de 2012, a les 21:23:01, Even Rouault va escriure:
> 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.

Thanks.

Commited, as said, don't use JPXStream.cc it's only there for the [weird] 
people that don't want to depend on a better decoder like the OpenJPEG one.

Cheers,
  Albert

> 
> > Best regards,
> > 
> > Even


More information about the poppler mailing list