Bug 22551

Summary: Incorrect use of poppler API
Product: poppler Reporter: Ilya Gorenbein <igorenbein>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: high CC: mkaplan
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: possible patch

Description Ilya Gorenbein 2009-06-30 05:15:01 UTC
Hello,

Poppler v. 0.10.6 crashes on http://www.informatik.fh-luebeck.de/ti/Seehusen/Publications/UnixMail/5-313.pdf file due to incorrect use of poppler API. getString() function was called before the object type was checked.

Location:
Link.cc file, LinkLaunch::LinkLaunch(Object *actionObj) function, line 473. obj3.isString() should be called before obj3.getString().

Regards,
Ilya
Comment 1 Ilya Gorenbein 2009-06-30 05:52:52 UTC
Created attachment 27262 [details] [review]
possible patch
Comment 2 Albert Astals Cid 2009-06-30 14:08:15 UTC
Fixed in master using a different way, thanks for reporting.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.