diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-03-31 12:29:26 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-03-31 12:50:32 -0400 |
commit | cda56abf194eb70f00c8e6ce95ec31f226048f9f (patch) | |
tree | e96e63f9cf4664c5c60700f5001ae71c942d1234 /evbuffer-internal.h | |
parent | c87272b7b91b4f443092eb2a81f03c83457ab03a (diff) | |
download | libevent-cda56abf194eb70f00c8e6ce95ec31f226048f9f.tar.gz |
Fix critical bug in evbuffer_write when writev is not available
evbuffer_pullup() returns NULL if you try to pull up more bytes than
are there. But evbuffer_write_atmost would sometimes ask for more
bytes to be pulled up than it had, get a NULL, and fail.
Diffstat (limited to 'evbuffer-internal.h')
0 files changed, 0 insertions, 0 deletions