Yahoo Groups archive

Milter-greylist

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

Message

locking issue for autowhite list?

2009-01-23 by manu@netbsd.org

In a private mail, reschauzier points me something I think is a bug.

The greylist entries held in memory have a p_refcnt field, for reference
count. It avoids the entry being free'ed by a thread while the MX sync
thread is working on it.

It seems there is no similar locking mechanism for the autowhite list. I
think a thread can therefore free an autowhite entry while the sync
thread is working on it. This is likely to lead to a crash.

Anyone has an opinion on this? Did I miss something?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
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.