[Poppler-bugs] [Bug 52215] Division by zero in poppler/PSOutputDev.cc:3132

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 18 07:24:46 PDT 2012


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

--- Comment #2 from thomasf <Thomas.Freitag at alfa.de> 2012-07-18 07:24:46 PDT ---
In PSOutputDev::startPage, case mode == psModePSOrigPageSizes (line 3524), the
initialization of xScale and yScale is missing, should be imo as in the other
cases beside psModePS
     xScale = yScale = 1;
(i.e. insert before line 3551)
Without it, the calculation of hDPI2 and vDPI2(line 3117 ff) and therefore the
calculation of stripes causes this floating point exception.
Should I upload a new patch for bug 51982 which includes it, wait that it will
be committed and create then a patch here or can You do that, Albert?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list