[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Tue May 31 15:42:56 MDT 2011


On Mon, May 30, 2011 at 10:50:01PM +0200, Volker Lendecke wrote:
> The branch, master has been updated
>        via  c981d4f s3: Safely mark our sconn as smb2 if we have that protocol
>       from  e10f27d Improve documentation for net rpc trust
> 
> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
> 
> 
> - Log -----------------------------------------------------------------
> commit c981d4fa1269569a1c2db4bf72a67a357aacd69f
> Author: Volker Lendecke <vl at samba.org>
> Date:   Mon May 30 16:30:54 2011 +0200
> 
>     s3: Safely mark our sconn as smb2 if we have that protocol
>     
>     Otherwise smbd will crash at an unclean exit. Without this conn_close_all will
>     do a close_cnum() on all connection_struct's. In smb2, those are talloc
>     children of the smbd_smb2_tcon's. sconn is talloc_free'ed after the
>     conn_close_all, but the smbd_smb2_tcon destructor will still reference
>     tcon->compat_conn, referencing then free'ed (and null'ed out) memory.

Do we also need this in 3.6.0rc2 ?

Jeremy.


More information about the samba-technical mailing list