Bug 6917 - FontInfo's copy constractor should check file member is available or not
Summary: FontInfo's copy constractor should check file member is available or not
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-15 00:11 UTC by Kouhei Sutou
Modified: 2006-05-14 09:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
copy file only if available (558 bytes, patch)
2006-05-15 00:11 UTC, Kouhei Sutou
Details | Splinter Review

Description Kouhei Sutou 2006-05-15 00:11:08 UTC
FontInfo::FontInfo(FontInfo &f) causes SEGV because FontInfo's file member may
be NULL.
Comment 1 Kouhei Sutou 2006-05-15 00:11:57 UTC
Created attachment 5626 [details] [review]
copy file only if available
Comment 2 Albert Astals Cid 2006-05-15 02:11:56 UTC
right, same is missing for name (yes fonts can have no name :-S)

Added into cvs, 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.