Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Segfault due to non-reentrant GeoIP?

2010-02-09 by Emmanuel Dreyfus

On Tue, Feb 09, 2010 at 01:29:31PM +0100, Enrico Scholz wrote:
> This seems to happen when two hosts connect within a very short time. I
> think that GeoIP_id_by_name() is called for the second host while this
> function is still executed for the first one.  As both are operating on
> the same 'geoip_handle' handle, this will corrupt internal state when
> geoip is not reentrant.

And reentrant it is not: nm shows that gethostbyname is used. Will
you contribute a fix?

-- 
Emmanuel Dreyfus
manu@...

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.