[Poppler-bugs] [Bug 24721] New: Potential negative page index
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Oct 25 06:04:47 PDT 2009
http://bugs.freedesktop.org/show_bug.cgi?id=24721
Summary: Potential negative page index
Product: poppler
Version: unspecified
Platform: Other
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: general
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: igorenbein at finjan.com
Hello,
Im using version 0.12.0. At poppler/PageLabelInfo.cc PageLabelInfo constructor
we have:
interval->length = next->base - interval->base; (line 206)
and
interval->length = numPages - interval->base; (line 206)
The result of those operations could potentially cause interval->length to be
negative. Following this, value to which index parameter points at
GBool PageLabelInfo::labelToIndex(GooString *label, int *index) function
could be negative. The could affect the rendering flow as it is used in
glib/poppler-document.cc.
Regards,
Ilya Gorenbein
--
Configure bugmail: http://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