Bug 23503 - OpenJPEG based JPXStream decoder is not safe
Summary: OpenJPEG based JPXStream decoder is not safe
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL: http://abfall-kreis-tuebingen.de/file...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-25 03:20 UTC by Elias Probst
Modified: 2011-06-19 15:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Elias Probst 2009-08-25 03:20:56 UTC
This KDE bug is according to Pino Toscano an upstream issue:
https://bugs.kde.org/show_bug.cgi?id=205056

Quote from the bugreport:
Only white pages are displayed + this error is displayed endless times on the
terminal, when starting Okular from a terminal:
Error: read error: passed the end of the codestream (start = 268808272, current
= 268811780, end = 268811780

The numbers in the error don't change, they're always the same.

While this happens, the CPU usage of one core goes to ~80% (Intel Core 2 Duo,
T7400 @ 2.16GHz).

It only happens, when trying to open this PDF:
http://abfall-kreis-tuebingen.de/fileadmin/pdf/Formulare/Erklaerung__P__Veranlagung.Rest_Bioabfaelle-privat.pdf

Used poppler version: 0.10.7
Comment 1 Albert Astals Cid 2009-08-25 11:57:06 UTC
The problem is that the OpenJPEG based JPXStream decoder feeds the OpenJPEG library the data and it loops forever there, i've contacted the OpenJPEG people to see if they can fix it.
Comment 2 Elias Probst 2009-08-26 08:58:54 UTC
Thanks for responding so fast.
Let's see what the OpenJPEG guys find out.
Comment 3 Albert Astals Cid 2011-06-19 15:23:54 UTC
Works now, seems openjpeg dudes fixed their bugs


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.