Bug 26544 - Poppler crashes if FontConfig changes its cache
Summary: Poppler crashes if FontConfig changes its cache
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-12 07:32 UTC by Marek Kasik
Modified: 2010-02-16 12:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
actualize FcCfg before using it (850 bytes, patch)
2010-02-12 07:32 UTC, Marek Kasik
Details | Splinter Review

Description Marek Kasik 2010-02-12 07:32:31 UTC
Created attachment 33256 [details] [review]
actualize FcCfg before using it

Poppler crashes when I open a PDF file in evince, update some fonts and open another file in evince. This crashes in FcConfigSubstituteWithPat.
I can reproduce this with evince 2.28.2 or older, newer evince has processing of different PDFs separated.

I tested this on Fedora, you can have a look at https://bugzilla.redhat.com/show_bug.cgi?id=533992 for more info.

Marek

patch is attached :)
Comment 1 Behdad Esfahbod 2010-02-12 15:51:58 UTC
Instead of that patch, just drop FCcfg and use NULL instead.
Comment 2 Albert Astals Cid 2010-02-16 12:54:03 UTC
Used Behdad suggestion, 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.