6 Aug
2010
6 Aug
'10
3:55 p.m.
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).