summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2011-09-25 23:39:07 +0200
committerDavid Disseldorp <ddiss@samba.org>2011-09-29 13:14:21 +0200
commit18482957daa2e2122ef39426a8fff167df3c9377 (patch)
treeaa1e41209c0a22dab9d635f1df9fdec5b7e4afb6
parent392fd0db38a2382b5f96d1a5882ea4e4fcda9d01 (diff)
downloadsamba-18482957daa2e2122ef39426a8fff167df3c9377.tar.gz
samba-18482957daa2e2122ef39426a8fff167df3c9377.tar.bz2
samba-18482957daa2e2122ef39426a8fff167df3c9377.zip
s3-smb2_server: SMB2_OP_IOCTL doesn't require at least 1 dyn byte
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/smbd/smb2_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index abb60e4110..84b55cce7d 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -1283,6 +1283,7 @@ NTSTATUS smbd_smb2_request_verify_sizes(struct smbd_smb2_request *req,
opcode = SVAL(inhdr, SMB2_HDR_OPCODE);
switch (opcode) {
+ case SMB2_OP_IOCTL:
case SMB2_OP_GETINFO:
min_dyn_size = 0;
break;