From 6981f1114792cc251bf1e05183dd88f5d351ab09 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 12 Oct 2011 16:58:46 +0200 Subject: s3:smb2_server: reject writes larger then the negotiated max_write size (bug #8473) metze --- source3/smbd/smb2_write.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c index e95b967608..edf6176821 100644 --- a/source3/smbd/smb2_write.c +++ b/source3/smbd/smb2_write.c @@ -82,9 +82,7 @@ NTSTATUS smbd_smb2_request_process_write(struct smbd_smb2_request *req) DEBUG(2,("smbd_smb2_request_process_write : " "client ignored max write :%s: 0x%08X: 0x%08X\n", __location__, in_data_length, req->sconn->smb2.max_write)); -#if 0 return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER); -#endif } in_data_buffer.data = (uint8_t *)req->in.vector[i+2].iov_base; -- cgit