Bug 96 - font-config crashes when the filesystem is write only
Summary: font-config crashes when the filesystem is write only
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: fc-cache (show other bugs)
Version: 2.1
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 269
  Show dependency treegraph
 
Reported: 2003-06-25 16:58 UTC by Jonathan Blandford
Modified: 2007-12-16 17:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (668 bytes, patch)
2003-06-25 16:59 UTC, Jonathan Blandford
Details | Splinter Review

Description Jonathan Blandford 2003-06-25 16:58:39 UTC
Here's a patch to fix it.  I don't know if it's the right fix or not.
Comment 1 Jonathan Blandford 2003-06-25 16:59:10 UTC
Created attachment 49 [details] [review]
patch
Comment 2 Jonathan Blandford 2003-06-25 17:26:31 UTC
I meant read-only, obviously.
Comment 3 Keith Packard 2003-06-25 17:35:39 UTC
I think the real problem is that $HOME isn't set.  Fontconfig is supposed to
survive this case, but the attached patch demonstrates a case where this isn't
true.  I found another issue with this same case.
Comment 4 Keith Packard 2003-06-25 17:45:47 UTC
I've audited uses of config->cache and other uses of $HOME and I think this was
the only remaining problem.  I've committed patches for this to both HEAD and
the 2.2 branch.


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.