diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-02-07 13:13:15 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-07 13:13:15 -0500 |
commit | 1ebdaf5788cb7969ee3f853ede4e6e3364343fc0 (patch) | |
tree | d38de02c12628bcfb4f10dd44d5a39d390f30414 /changes | |
parent | 85b46d57bcc40b8053dafe5d0ebb4b0bb611b484 (diff) | |
download | tor-1ebdaf5788cb7969ee3f853ede4e6e3364343fc0.tar tor-1ebdaf5788cb7969ee3f853ede4e6e3364343fc0.tar.gz |
More hacking around spawn_func issues
This time, we use a pthread_attr to make sure that if pthread_create
succeeds, the thread is successfully detached.
This probably isn't the big thing going on with 4345, since it'd be
a bit weird for pthread_detach to be failing. But it's worth
getting it right.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug4345 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/changes/bug4345 b/changes/bug4345 index 4975eea1e..5e650fc34 100644 --- a/changes/bug4345 +++ b/changes/bug4345 @@ -1,6 +1,10 @@ o Minor bugfixes: - Check return code on spawn_func() in cpuworker code, so that we don't think we've spawned a nonworking cpuworker and write junk to it - forever. Fix for bug 4345; bugfix on all released Tor versions. + forever. Fix related to bug 4345; bugfix on all released Tor versions. Found by "skruffy". + - Use a pthread_attr to make sure that spawn_func() cannot return + an error while at the same time launching a thread. Fix related + to bug 4345; bugfix on all released Tor versions. Reported by + "cypherpunks". |