Yahoo Groups archive

Milter-greylist

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

Message

[PATCH] Make p0f queries reentrant (was: Segfault due to non-reentrant GeoIP?)

2010-02-20 by Enrico Scholz

A patch which fixes a similar problem in the p0f code:

Do not share the p0fsock descriptor between several threads because
resulting the connect - write - read - close sequence is racy. p0f
protocol allows one query per connection only, so this patch allocates
and frees a local socket per connection.

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.