[Dovecot] my_strncasecmp ignores max_chars

Ben Winslow rain at bluecherry.net
Mon Nov 13 14:39:01 UTC 2006


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.diff 
-------------- 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.pgp 


More information about the dovecot mailing list