Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Re: Milter-greylist-4.1.10 segfaults on regular expressions

2009-02-04 by manu@netbsd.org

reschauzier <reschauzier@...> wrote:

> Yes, this indeed turned out to be the case. It is fixed by setting
> sr->sr_nmatch to zero in smtp_reply_init().

I fear you have a problem with your compiler. The zero'ing you did is
three lines below this:
        memset(sr, 0, sizeof(*sr));

So the whole structure has already been zero'ed. Do you use -O? Can you
try without any compiler optimization (and without your fix)?

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