Summary: | Numerical overflow in libopenjpeg JPXStream::doLookChar() | ||
---|---|---|---|
Product: | poppler | Reporter: | Daniel Glöckner <daniel-gl> |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Fix and optimization
Testcase Fix and optimization |
Description
Daniel Glöckner
2011-07-18 16:27:10 UTC
Created attachment 49280 [details] [review] Fix and optimization please attach a file that shows the need for the patch. Created attachment 49294 [details]
Testcase
Unfortunately your patch breaks rendering of page 17 of http://www.investis.com/bby/investors/reports/2008rep/anreview08/anreveview2008.pdf Please have a look and try to fix it, otherwise your patch can not be applied. Created attachment 49356 [details] [review] Fix and optimization I was under the impression that the code did not support JPEG 2000 images with more than three components because of the logic in JPXStream::getImageParams. It apparently does when the image dictionary overrides the values returned by that method, so interleaving all components into the first component's buffer is out of question. It's still faster than before. Commited. Thanks Thanks Albert and Daniel. Does this fix also apply to bug 33280 ? No |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.