diff options
author | Volker Lendecke <vl@samba.org> | 2011-05-30 16:30:54 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-05-30 22:49:53 +0200 |
commit | c981d4fa1269569a1c2db4bf72a67a357aacd69f (patch) | |
tree | d77c6e1025e718fb18b14790f30d11166b8ebed4 /source3/nmbd/nmbd_mynames.c | |
parent | e10f27d5759b2d21c82fdb20f5641e1f6feab158 (diff) | |
download | samba-c981d4fa1269569a1c2db4bf72a67a357aacd69f.tar.gz samba-c981d4fa1269569a1c2db4bf72a67a357aacd69f.tar.bz2 samba-c981d4fa1269569a1c2db4bf72a67a357aacd69f.zip |
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.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon May 30 22:49:53 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/nmbd/nmbd_mynames.c')
0 files changed, 0 insertions, 0 deletions