Greetings,

We found an error where evbuffer_find(buf,"\r\n",2) would find only a bare "\r" at the end of the buffer, if there happened to be a leftover "\n" in the next byte. I added new tests to regress.c to show the bug and the error which is visible on FC6 with valgrind. I'm not certain that the enclosed fix is the most concise one possible, but it fixes the bug and the valgrind error.

Regards,
Ken Cox
k e n s t i r   a t   v i v o x   d o t   c o m

Attachment: libevent.patch
Description: Binary data

_______________________________________________
Libevent-users mailing list
[email protected]
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to