[Dovecot] [PATCH] dovecot-lda segfault

Timo Sirainen tss at iki.fi
Thu Dec 9 01:17:55 EET 2010


On 8.12.2010, at 11.23, Florian Forster wrote:

> The interesting part of the backtrace is the following:
> 
> -- 8< --
> #0  acl_object_deinit (_aclobj=0x30) at acl-api.c:23
>        aclobj = <value optimized out>
> #1  0x00007f4673f35e84 in acl_backend_deinit (_backend=<value optimized out>) at acl-backend.c:95
>        backend = (struct acl_backend *) 0x0
> -- >8 --
> 
> For a reason I haven't investigated yet, "backend" is NULL in
> "acl_backend_deinit". This leads to a NULL-pointer dereference in
> "acl_object_deinit".

Thanks.

> The attached patch protects from this dereference but I have this
> distinct feeling that I'm treating a symptom here.

Yes, the check should be a bit earlier: http://hg.dovecot.org/dovecot-2.0/rev/7353e3253840



More information about the dovecot mailing list