[Dovecot] imap-login: memory corruption

Timo Sirainen tss at iki.fi
Wed Jan 14 22:19:10 EET 2009


On Wed, 2009-01-14 at 21:06 +0100, Ralf Hildebrandt wrote:
> * Timo Sirainen <tss at iki.fi>:
> 
> > Ah, this is easy. Set login_process_size=0
> Ah, ok. Now it's very talkativ and clutters my log...

valgrind --log-file=/tmp/imap.%p could be helpful there then. But does
it keep logging something? With me it logs one error when the process
starts:

==6036== Syscall param socketcall.sendmsg(msg.msg_iov[i]) points to uninitialised byte(s)
==6036==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==6036==    by 0x804F94E: master_request_login (master.c:87)
==6036==    by 0x8054D86: auth_client_input_ok (auth-server-request.c:194)

After that there's nothing. Probably all output after that are bugs
(maybe this one too, but I haven't managed to figure out how it could be
fixed).

Oh, and valgrind -q also makes it more quiet if you want to keep logging
to Dovecot logs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090114/601fdfd4/attachment.bin 


More information about the dovecot mailing list