]> git.ipfire.org Git - thirdparty/tor.git/commit
Use read_all() to read messages from spawn_background
authorNick Mathewson <nickm@torproject.org>
Thu, 5 May 2011 03:32:18 +0000 (23:32 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 5 May 2011 03:32:18 +0000 (23:32 -0400)
commitd8cb4f9f0ce075daf4469db18218901f3a720282
tree92369d15bd03b35b63a675fd77b353001c7369e0
parent08efa70c41b258d8655ec01bdb721aea96b42d46
Use read_all() to read messages from spawn_background

Using read() is an invitation to get some of the data you want, not all.

Possible fix for bug 2462
src/test/test_util.c