diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-09-24 18:58:38 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-09-24 18:58:38 -0700 |
commit | 0cf717512659469a9b293685ba2a6db4742dcff7 (patch) | |
tree | 1065a1e264648dca4e96e3db0f4bce9d9aee0d7d /source4/libcli | |
parent | bda97661ffd230a9b58527faebdc79f37bb8352b (diff) | |
download | samba-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')
-rw-r--r-- | source4/libcli/smb2/smb2.h | 1 |
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 |