summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/smb2.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-09-24 18:58:38 -0700
committerAndrew Tridgell <tridge@samba.org>2008-09-24 18:58:38 -0700
commit0cf717512659469a9b293685ba2a6db4742dcff7 (patch)
tree1065a1e264648dca4e96e3db0f4bce9d9aee0d7d /source4/libcli/smb2/smb2.h
parentbda97661ffd230a9b58527faebdc79f37bb8352b (diff)
downloadsamba-0cf717512659469a9b293685ba2a6db4742dcff7.tar.gz
samba-0cf717512659469a9b293685ba2a6db4742dcff7.tar.bz2
samba-0cf717512659469a9b293685ba2a6db4742dcff7.zip
we need different error handling for truncated packets in NETPROT and
other SMB2 operations.
Diffstat (limited to 'source4/libcli/smb2/smb2.h')
-rw-r--r--source4/libcli/smb2/smb2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/smb2/smb2.h b/source4/libcli/smb2/smb2.h
index f00107de60..9d63a4a95f 100644
--- a/source4/libcli/smb2/smb2.h
+++ b/source4/libcli/smb2/smb2.h
@@ -178,6 +178,7 @@ struct smb2_request {
#define SMB2_MIN_SIZE 0x42
+#define SMB2_MIN_SIZE_NO_BODY 0x40
/* offsets into header elements for a sync SMB2 request */
#define SMB2_HDR_PROTOCOL_ID 0x00