[Dovecot] dovecot-auth process crashed during pam login

Timo Sirainen tss at iki.fi
Fri Aug 6 15:55:16 EEST 2010


On Fri, 2010-08-06 at 14:30 +0200, Elmar Rudigier wrote:

> After a little debugging I saw that pam_ssh and dovecot both provide a
> buffer_free() function. During cleanup of pam_ssh the buffer_free() from
> dovecot was called. The members of the buffer had all "out of bound"
> addresses.
> 
> After rename the buffer_free() in dovecot the pam login works fine.

Why not rename it in pam_ssh? PAM is the library that is being used in
tons of different programs, and it should be the one to avoid symbol
conflicts.

Anyway, attached a simpler patch to fix this on Dovecot's side (but I'm
not including it).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: text/x-patch
Size: 306 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20100806/3b04b5a4/attachment.bin 


More information about the dovecot mailing list