[Poppler-bugs] [Bug 58032] New: Crash when doing patterns over a mono1 outputdev

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 8 14:11:45 PST 2012


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

          Priority: medium
            Bug ID: 58032
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: Crash when doing patterns over a mono1 outputdev
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: tsdgeos at terra.es
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: splash backend
           Product: poppler

When running
pdftoppm -r72 -mono over https://bugs.kde.org/attachment.cgi?id=11961 it
crashes when creating the SplashBitmap.

The obvious solution is changing 

  if (rowSize > 0) {
    rowSize += rowPad - 1;
    rowSize -= rowSize % rowPad;
  }

to

  if (rowSize > 0 && rowPad > 0) {
    rowSize += rowPad - 1;
    rowSize -= rowSize % rowPad;
  }

But i'm creating this bug to get Thomas' opinion on it

-- 
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/20121208/6e187cb2/attachment.html>


More information about the Poppler-bugs mailing list