actually, I still don't like the user of getenv("HOME"); over struct passwd pwd; errno = 0; pwd = getpwuid(getuid()); if (pwd) cdir = pwd->pw_dir; else { //error handling }
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1034005 Title: upowerd crashed with SIGSEGV in __stpcpy_chk() To manage notifications about this bug go to: https://bugs.launchpad.net/libimobiledevice/+bug/1034005/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs