From d2a62ab22ea36f6b6847f86a3de8160bb3496862 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 23 Nov 2004 00:09:23 +0000 Subject: r3916: w2k3 does not check the max_setup count in nttrans requests (This used to be commit 671a864d8f3548b052ffa33fa8fb0bbf3a0e3970) --- source4/smb_server/nttrans.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source4/smb_server/nttrans.c b/source4/smb_server/nttrans.c index 27fb4d22db..abb66a24ca 100644 --- a/source4/smb_server/nttrans.c +++ b/source4/smb_server/nttrans.c @@ -413,10 +413,13 @@ void reply_nttrans(struct smbsrv_request *req) 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; -- cgit