[Poppler-bugs] [Bug 101500] Division by 0 at Function.cc:1626

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 19 17:21:24 UTC 2017


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

--- Comment #1 from foca at salesforce.com <foca at salesforce.com> ---
A similar bug exists a few lines below at Function.cc:1662
1659          case psOpMod:
1660            i2 = stack->popInt();
1661            i1 = stack->popInt();
1662            stack->pushInt(i1 % i2);
1663            break;

Again a solution could be just to check if i2 is different than 0.

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


More information about the Poppler-bugs mailing list