]> git.ipfire.org Git - thirdparty/tor.git/commit
Check spawn_func() return value
authorNick Mathewson <nickm@torproject.org>
Fri, 17 Jan 2014 17:04:53 +0000 (12:04 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 17 Jan 2014 17:04:53 +0000 (12:04 -0500)
commit85b46d57bcc40b8053dafe5d0ebb4b0bb611b484
treecbf0ab74e061e7815d51f400e8b6cc19158dc80d
parent35115496511f64c08849a039c926910739467169
Check spawn_func() return value

If we don't, we can wind up with a wedged cpuworker, and write to it
for ages and ages.

Found by skruffy.  This was a bug in 2dda97e8fd898757, a.k.a. svn
revision 402. It's been there since we have been using cpuworkers.
changes/bug4345 [new file with mode: 0644]
src/or/cpuworker.c