svn commit: samba r5193 - in branches/SAMBA_4_0/source: smb_server smbd

Stefan (metze) Metzmacher metze at samba.org
Thu Feb 3 10:13:47 GMT 2005


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

tridge at samba.org schrieb:
| Author: tridge
| Date: 2005-02-03 08:20:31 +0000 (Thu, 03 Feb 2005)
| New Revision: 5193
|
| WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5193
|
| Log:
| make sure we mark the event dead when we free it on a dead connection
|
|
| Modified:
|    branches/SAMBA_4_0/source/smb_server/smb_server.c
|    branches/SAMBA_4_0/source/smbd/service_stream.c
|
|
| Changeset:
| Modified: branches/SAMBA_4_0/source/smb_server/smb_server.c
| ===================================================================
| --- branches/SAMBA_4_0/source/smb_server/smb_server.c	2005-02-03 04:40:52 UTC (rev 5192)
| +++ branches/SAMBA_4_0/source/smb_server/smb_server.c	2005-02-03 08:20:31 UTC (rev 5193)
| @@ -663,6 +663,7 @@
|  	status = receive_smb_request(smb_conn, t);
|  	if (NT_STATUS_IS_ERR(status)) {
|  		talloc_free(conn->event.fde);
| +		conn->event.fde = NULL;
|  		smbsrv_terminate_connection(smb_conn, nt_errstr(status));
|  		return;

why do we free the fde event here? I think that done by smbsrv_terminate_connection()

- --
metze

Stefan Metzmacher <metze at samba.org> www.samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCAflbm70gjA5TCD8RAvuVAKCQGlWHhEMSg/NnmrrtKd6Z3SxEFgCglihu
C6tQjhn4vIpreQIuTdWQ1lU=
=ytUL
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list