CVS update: samba/source/nsswitch

Gerald (Jerry) Carter jerry at samba.org
Mon Sep 8 13:55:16 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7 Sep 2003, Andrew Bartlett wrote:

> > fix bug 382: make sure to free and reset the cli_state pointer after 
> > flushing connections in winbindd_pam_auth[_crap]()
> 
> I assume you checked it all out with valgrind - but this really looks
> like a double-free to me.  It also looks like a write to invalid memory,
> when after winbind_cm_flush(), we set cli->fd = -1.
> 
> (Because winbind_cm_flush() calls cli_shutdown(), which is the normal
> way to free a cli pointer).

Fixed.



cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/XIpJIR7qMdg1EfYRAkRuAJ9lvPDI5uvqeeJ2UPs3t4X7IwQJVQCfTzFc
EEGmGpUEX3FEtyfnL7CQ4A0=
=UQeN
-----END PGP SIGNATURE-----




More information about the samba-technical mailing list