diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-02-11 09:44:07 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-02-11 09:46:29 -0500 |
commit | f5f6d13e4cc0d8e823888694bb2c3415d80690ab (patch) | |
tree | 61e8449c06d010ab1ee5f9e442fdcab086c5446c /changes | |
parent | 0c81dfa848da160b02818771626a425cd27b86bc (diff) | |
download | tor-f5f6d13e4cc0d8e823888694bb2c3415d80690ab.tar.gz tor-f5f6d13e4cc0d8e823888694bb2c3415d80690ab.zip |
Fix crash on glibc __libc_message()
__libc_message() tries to open /dev/tty with O_RDWR, but the sandbox
catches that and calls it a crash. Instead, I'm making the sandbox
setenv LIBC_FATAL_STDERR_, so that glibc uses stderr instead.
Fix for 14759, bugfix on 0.2.5.1-alpha
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug14759 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug14759 b/changes/bug14759 new file mode 100644 index 0000000000..82fe97c1c0 --- /dev/null +++ b/changes/bug14759 @@ -0,0 +1,6 @@ + o Minor bugfixes (sandbox): + - Allow Glibc fatal errors to be sent to stderr before Tor exits. + Previously, glibc would try to write them to /dev/tty, and the sandbox + would trap the call and make Tor exit prematurely. Fixes bug 14759; + bugfix on 0.2.5.1-alpha. + |