This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
http://sourceware.org/bugzilla/show_bug.cgi?id=15607 Bug ID: 15607 Summary: Add threadsafe version of getenv() Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: hadess at hadess dot net CC: drepper.fsp at gmail dot com gnome-settings-daemon is a daemon running in a GNOME session to apply stored settings (such as the user's preferred locale) to the running session and its own children (such as applications launched using the media-keys). We started hitting SEGVs somewhat randomly recently: https://bugzilla.gnome.org/show_bug.cgi?id=701322 which are caused by races between getenv() (as used by the glibc's gettext implementation) and setenv() (called by gnome-settings-daemon to change its own environment). Having getenv_r()/setenv_r() would avoid this problem and make our implementation more straight-forward and cleaner. [1]: https://bug701322.bugzilla-attachments.gnome.org/attachment.cgi?id=245695 -- You are receiving this mail because: You are on the CC list for the bug.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |