summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-08-27 09:38:29 +0000
committerJeremy Allison <jra@samba.org>2013-08-28 23:37:08 +0200
commitb37edda32930fec372d6467d442f67532c3fbd33 (patch)
tree901acf46d8be9aea1eddfbee6e743a83edfef76f /source3/smbd
parent40f60024ca19e33cbbe9825b42692f386a8f1dd9 (diff)
downloadsamba-b37edda32930fec372d6467d442f67532c3fbd33.tar.gz
samba-b37edda32930fec372d6467d442f67532c3fbd33.tar.bz2
samba-b37edda32930fec372d6467d442f67532c3fbd33.zip
smbd: Revert a93f9c3
This was too broad and has been replaced by finer-grained error checks Bug: https://bugzilla.samba.org/show_bug.cgi?id=10106 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_getinfo.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/smbd/smb2_getinfo.c b/source3/smbd/smb2_getinfo.c
index 4111aa1dc0..449aeb3f5f 100644
--- a/source3/smbd/smb2_getinfo.c
+++ b/source3/smbd/smb2_getinfo.c
@@ -530,11 +530,6 @@ static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- if (state->out_output_buffer.length > in_output_buffer_length) {
- tevent_req_nterror(req, NT_STATUS_INFO_LENGTH_MISMATCH);
- return tevent_req_post(req, ev);
- }
-
state->status = status;
tevent_req_done(req);
return tevent_req_post(req, ev);