[Poppler-bugs] [Bug 85272] New: [pdftoppm] Eternal loop writes infinite data to stderr

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 20 23:26:22 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85272

            Bug ID: 85272
           Summary: [pdftoppm] Eternal loop writes infinite data to stderr
           Product: poppler
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: utils
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: ravdune+bugzilla at gmail.com

Created attachment 108146
  --> https://bugs.freedesktop.org/attachment.cgi?id=108146&action=edit
pdftoppm-eternalloop.pdf

OS: Fedora 20 (running in virtualbox)
Dependencies installed with: yum-builddep poppler
Version: GIT Master
Command line for loop demonstration: master/utils/pdftoppm <attached.pdf>
/dev/null

Tries to read 260,335,296 bytes.

#############################################################################
GDB output:

Reading symbols from /home/foobar/poppler/utils/.libs/lt-pdftoppm...done.
Starting program: /home/foobar/poppler/utils/.libs/lt-pdftoppm
eternalloop-eternalread-828-pdftoppmfuzz-6.pdf /dev/null
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Corrupt JPEG data: 19 extraneous bytes before marker 0xc4

^C

Program received signal SIGINT, Interrupt.
0x00007ffff7ab6588 in ImageStream::getLine (this=0x649d80) at Stream.cc:518
518       for ( ; readChars < inputLineSize; readChars++) inputLine[readChars]
= EOF;
(gdb) print inputLineSize
$1 = 260335296

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20141021/02b8be1e/attachment.html>


More information about the Poppler-bugs mailing list