my_strncasecmp ignores the length parameter, which breaks all sorts of things on platforms where the function actually gets used. Trivial patch attached. -- Ben Winslow <rain at bluecherry.net> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: compat.c.diff URL: <http://dovecot.org/pipermail/dovecot/attachments/20061113/65ea33ff/attachment.pl> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 827 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20061113/65ea33ff/attachment.bin>
On 13.11.2006, at 16.39, Ben Winslow wrote:> my_strncasecmp ignores the length parameter, which breaks all sorts of > things on platforms where the function actually gets used.Thanks. Do you actually know such a platform? I had been thinking earlier that maybe I should just drop them out completely. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20061113/8afd70d5/attachment.bin>