sasl2-bin: saslauthd leaks memory using PAM

Fabian Fagerholm fabbe at paniq.net
Sat May 17 10:22:52 UTC 2008


Hi,

A long time ago, you submitted a bug against the cyrus-sasl2 Debian
package regarding a memory leak in the saslauthd daemon.

After a lot of investigation, I'm fairly confident that I've pinpointed
the issue -- and it seems that it is a memory leak related to the
getpwnam_r function, described in Debian bug #273051.

There is an easy way to confirm this. Just edit /etc/nsswitch.conf and
replace all occurrences of "compat" with "files". Doing this, and
restarting saslauthd, should stop the memory leaks. I would be very
happy if you could try this out on your system and tell me if the memory
leaks stopped (or were reduced).

Please try this -- it would be great if we could confirm the root cause
of these memory leaks!

Thanks,
-- 
Fabian Fagerholm <fabbe at paniq.net>
-------------- 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://lists.alioth.debian.org/pipermail/pkg-cyrus-sasl2-debian-devel/attachments/20080517/1b3f0f1d/attachment.pgp 


More information about the Pkg-cyrus-sasl2-debian-devel mailing list