Summary: | fontconfig crashes if $HOME is not set | ||
---|---|---|---|
Product: | fontconfig | Reporter: | Frederic Crozat <fcrozat> |
Component: | library | Assignee: | Keith Packard <keithp> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | 2.1 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Patch to use $HOME only as fallback |
Description
Frederic Crozat
2003-02-06 01:34:31 UTC
Created attachment 16 [details] [review] Patch to use $HOME only as fallback I would prefer to use $HOME and fall back to getpwuid only if that's not set, or perhaps if the application is setuid. getpwuid seems a bit expensive to use in every application. I don't have any strong feelings for any approaches.. Since I didn't knew which one was better, I choose the glib2 way I've made a minimal patch that solves the immediate problem. |
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.