diff options
author | Bastien Nocera | 2012-09-05 10:07:15 +0100 |
---|---|---|
committer | Martin Szulecki | 2012-09-05 14:15:37 +0200 |
commit | 825da48d2e9c20086c4e34869da0b28376676b4c (patch) | |
tree | 3e5ef66544cf6eb03cb747373f8d785c55c149b9 /docs/idevicepair.1 | |
parent | 060e3f2683ed2b0b08e1a31deb9608a99e193b4a (diff) | |
download | libimobiledevice-825da48d2e9c20086c4e34869da0b28376676b4c.tar.gz libimobiledevice-825da48d2e9c20086c4e34869da0b28376676b4c.tar.bz2 |
Don't crash if $HOME is empty
If both $XDG_CONFIG_HOME and $HOME are unset, we'd try to copy a NULL
string, causing a crash. This is the environment systemd provides to
its daemons, and that was causing upowerd to crash.
http://libiphone.lighthouseapp.com/projects/27916-libiphone/tickets/273-patch-fix-segfault-when-running-with-home-unset#ticket-273-2
http://libiphone.lighthouseapp.com/projects/27916/tickets/265-userpref_get_config_dir-segfaults-when-home-is-undefined
https://bugzilla.redhat.com/show_bug.cgi?id=834359
Diffstat (limited to 'docs/idevicepair.1')
0 files changed, 0 insertions, 0 deletions