svn commit: samba r3916 - in branches/SAMBA_4_0/source/smb_server: .

tridge at samba.org tridge at samba.org
Tue Nov 23 00:09:23 GMT 2004


Author: tridge
Date: 2004-11-23 00:09:23 +0000 (Tue, 23 Nov 2004)
New Revision: 3916

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3916

Log:
w2k3 does not check the max_setup count in nttrans requests

Modified:
   branches/SAMBA_4_0/source/smb_server/nttrans.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/nttrans.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/nttrans.c	2004-11-22 17:30:32 UTC (rev 3915)
+++ branches/SAMBA_4_0/source/smb_server/nttrans.c	2004-11-23 00:09:23 UTC (rev 3916)
@@ -413,10 +413,13 @@
 		return;
 	}
 
+#if 0
+	/* w2k3 does not check the max_setup count */
 	if (trans.out.setup_count > trans.in.max_setup) {
 		req_reply_error(req, NT_STATUS_BUFFER_TOO_SMALL);
 		return;
 	}
+#endif
 	if (trans.out.params.length > trans.in.max_param) {
 		status = NT_STATUS_BUFFER_TOO_SMALL;
 		trans.out.params.length = trans.in.max_param;



More information about the samba-cvs mailing list