Bug 89739
Summary: | segfault if !getenv("HOME") | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | David Woodhouse <dwmw2> | ||||
Component: | fontconfig | Assignee: | Owen Taylor <otaylor> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 9 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-06-10 22:15:47 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
David Woodhouse
2003-04-27 11:41:19 UTC
Created attachment 91316 [details]
partial fix
Just out of couriousity - and to know how important a "functional" fix is, when would programs be running without $HOME in the environment? Is this a situation when using getpwuid() would work? Not sure how common it'll be -- the example is a GUI dialog box invoked from a deamon (it's in the bluez-utils package if you want to look closer) and is the WrongThing anyway -- dbus or whatever will obsolete it soon, hopefully. If it didn't work with 'HOME=/somebogusdir' and actually _needed_ the home directory, I'd suggest that it isn't worth fixing. But since it does work like that, it seems like it might be fairly simple to make it work with !HOME. I've worked around it in bluez-utils for now, just by setting HOME to "" in the bluepin script. Fixed upstream as of 2003/02/06, tests OK with fontconfig-2.2.1-1 |