Benoit Branciard a \ufffdcrit : > > Still investigating... > ... Found ! in curl_outlet(), if the output buffer length was null, two chars were pre-allocated for an trailing \r\0. The problem was that on subsequent calls of this function, those chars were ignored in the buffer length calculation, so that data were written at the wrong offset, inserting two uninitialized chars in the middle of the buffer. This happened more or less frequently depending on the number of calls to curl_outlet() libcurl did to fill the complete answer. The attached patch contains a possible fix, as well as a a bit of code to handle \r\n responses, and a typo fix. -- Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n'a ete trouve.
Message
Re: [milter-greylist] urlcheck bug ? [SOLVED]
2008-04-12 by Benoit Branciard
Attachments
- No local attachments were found for this message.