[Poppler-bugs] [Bug 31895] New: Poppler should't call abort() on error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 24 06:37:14 PST 2010


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

           Summary: Poppler should't call abort() on error
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: mkasik at redhat.com


Created an attachment (id=40546)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=40546)
reproducer

Poppler calls abort() from OBJECT_TYPE_CHECK() and OBJECT_2TYPES_CHECK() if it
doesn't get correct type.
The attached PDF makes poppler to crash because there are wrong values in BBox
on line 3721. These values are stored as objError but getNum() expects objInt
or objReal.
Simple "fix" could be change of these abort() to exit() (but still not
optimal).

Marek

This was originally reported downstream here:
https://bugzilla.redhat.com/show_bug.cgi?id=625744

-- 
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