<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [pdftoppm] Eternal loop writes infinite data to stderr"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85272">85272</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[pdftoppm] Eternal loop writes infinite data to stderr
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ravdune+bugzilla@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=108146" name="attach_108146" title="pdftoppm-eternalloop.pdf">attachment 108146</a> <a href="attachment.cgi?id=108146&action=edit" title="pdftoppm-eternalloop.pdf">[details]</a></span>
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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>