[Dovecot] dovecot 1.1beta11 auth problems (PATCH!)

Timo Sirainen tss at iki.fi
Fri Dec 21 16:24:37 EET 2007


On Thu, 2007-12-13 at 11:33 +0100, Moritz Mertinkat wrote:
> Hi once again,
> 
> I've just had a closer look to the problem using gdb:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x08055703 in auth_request_set_userdb_field (request=0x80a6008, name=0x0,
> value=0x80a60d0 "postmaster at mydomain.de") at auth-request.c:1154
> 1154            if (strcmp(name, "uid") == 0) {
> 
> The problem occurs in auth_request_set_userdb_field which is called from
> userdb-vpopmail.c on line 125 with parameter name = NULL.
> Attached is a small patch that handles the NULL case for the name parameter
> inside the auth_request_set_userdb_field function.
> 
> It works for me (no problems so far), but I think someone else should have
> a look at it :=)

Thanks. I fixed it a bit differently:
http://hg.dovecot.org/dovecot/rev/7305d675b05c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071221/36a0d6b2/attachment.bin 


More information about the dovecot mailing list