diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-10-12 16:58:46 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-13 01:59:05 +0200 |
commit | 6981f1114792cc251bf1e05183dd88f5d351ab09 (patch) | |
tree | b18256914e1316e3c860df9729456964057912eb /source3/smbd/smb2_write.c | |
parent | 40ea66c5dda91ba3f74bed7db1ce02f6c8b4ffeb (diff) | |
download | samba-6981f1114792cc251bf1e05183dd88f5d351ab09.tar.gz |
s3:smb2_server: reject writes larger then the negotiated max_write size (bug #8473)
metze
Diffstat (limited to 'source3/smbd/smb2_write.c')
-rw-r--r-- | source3/smbd/smb2_write.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c index e95b9676087..edf61768212 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; |