Commit cda56abf194eb70f00c8e6ce95ec31f226048f9f

Nick Mathewson 2010-03-31T12:29:26

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.