Bug 107042 - pdfimages gets stuck in endless loop and extraction of jpeg grows image-file to max. disk capacity
Summary: pdfimages gets stuck in endless loop and extraction of jpeg grows image-file ...
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-26 08:38 UTC by anon-mws
Modified: 2018-08-21 10:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Be careful when using the given command (2.22 KB, application/pdf)
2018-06-26 08:38 UTC, anon-mws
Details

Description anon-mws 2018-06-26 08:38:01 UTC
Created attachment 140341 [details]
Be careful when using the given command

OS: Debian 9.4 (amd 64)
Ver: pdfimages version 0.63.0

----
user@laptop:/tmp$ pdfimages -j /tmp/testfile.pdf image.jpg
Syntax Error (2143): Dictionary key must be a name object
Syntax Error (2200): Dictionary key must be a name object
Syntax Error (2201): Dictionary key must be a name object
Syntax Error (2213): Dictionary key must be a name object
Syntax Error (2143): Dictionary key must be a name object
Syntax Error (2200): Dictionary key must be a name object
Syntax Error (2201): Dictionary key must be a name object
Syntax Error (2213): Dictionary key must be a name object
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Invalid XRef entry
Syntax Error (1732): Missing 'endstream' or incorrect stream length
.... endless loop ....
----

e.g. attached example pdf-file
Comment 1 Albert Astals Cid 2018-07-11 15:33:57 UTC
Is this actually a bug? the pdf has a huge image inside (1102x2000000000), so it uses a huge amounts of disk to dump it
Comment 2 GitLab Migration User 2018-08-21 10:36:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/281.


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.