]> git.ipfire.org Git - thirdparty/tor.git/commit
Don't assert in get_string_from_pipe() on len==0
authorNick Mathewson <nickm@torproject.org>
Sat, 23 Jun 2012 19:35:43 +0000 (15:35 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 23 Jun 2012 19:35:43 +0000 (15:35 -0400)
commitffd7189b3fc015ce47e6ab27ac85d4eab2183a2b
tree1cb0830b664d2e7ef94ad7ec346524f046e435a6
parentb1ad1a1d0266a20bb0dac15e65abe7b65a74e8a0
Don't assert in get_string_from_pipe() on len==0

We can treat this case as an EAGAIN (probably because of an
unexpected internal NUL) rather than a crash-worthy problem.

Fixes bug 6225, again.  Bug not in any released version of Tor.
src/common/util.c