Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] [PATCH] bug in autowhite_timeout()

2006-08-08 by Hajimu UMEMOTO

Hi,

>>>>> On Mon, 7 Aug 2006 23:44:06 +0200
>>>>> Fabien Tassin <fta+miltergreylist@...> said:

fta+miltergreylist> iptostring() called by autowhite_timeout() is not able to
fta+miltergreylist> resolve AF_INET6 addresses.
fta+miltergreylist> The size of the buffer should not use IPADDRLEN but IPADDRSTRLEN.
fta+miltergreylist> Now works for me.

Yes, it seems there are more places to be fixed as well.

fta+miltergreylist> +                       char buf[IPADDRSTRLEN + 1];
 
You don't need adding 1 to IPADDRSTRLEN.  Just use IPADDRSTRLEN.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@...  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.