svn commit: samba r2590 - in branches/SAMBA_4_0/source/smb_server: .
tridge at samba.org
tridge at samba.org
Fri Sep 24 07:08:02 GMT 2004
Author: tridge
Date: 2004-09-24 07:08:02 +0000 (Fri, 24 Sep 2004)
New Revision: 2590
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/smb_server&rev=2590&nolog=1
Log:
fixed one of the server security memory leaks. There are more :(
Modified:
branches/SAMBA_4_0/source/smb_server/sesssetup.c
Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/sesssetup.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/sesssetup.c 2004-09-24 06:56:11 UTC (rev 2589)
+++ branches/SAMBA_4_0/source/smb_server/sesssetup.c 2004-09-24 07:08:02 UTC (rev 2590)
@@ -271,6 +271,10 @@
}
} else {
status = nt_status_squash(status);
+ if (smb_sess->gensec_ctx &&
+ !NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {
+ gensec_end(&smb_sess->gensec_ctx);
+ }
}
sess->spnego.out.action = 0;
More information about the samba-cvs
mailing list