Bug 22551 - Incorrect use of poppler API
Summary: Incorrect use of poppler API
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high major
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 05:15 UTC by Ilya Gorenbein
Modified: 2009-06-30 14:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
possible patch (648 bytes, patch)
2009-06-30 05:52 UTC, Ilya Gorenbein
Details | Splinter Review

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.