[Dovecot] PATCH: SQL connect crash

Timo Sirainen tss at iki.fi
Mon Aug 23 18:10:58 EEST 2010


On Fri, 2010-08-20 at 18:27 -0300, Leandro Santi wrote:

> Dovecot 2.0.0 auth process seems to crash while attempting to
> connect to a nonexistent SQL database.
..
> #5  0x08062be2 in userdb_deinit (userdb=0x807fc48) at userdb.c:177
> #6  0x0804ff4b in auths_deinit () at auth.c:213

Not when connecting, but when aborting such pending lookups during
deinit. That auth code is getting annoyingly complex.. Should really use
a redesign some day to clean up all this horribleness. But for now,
these should help:

http://hg.dovecot.org/dovecot-2.0/rev/b88b207b79b2
http://hg.dovecot.org/dovecot-2.0/rev/8b85c3b89343
http://hg.dovecot.org/dovecot-2.0/rev/d2b49c7d4046




More information about the dovecot mailing list