diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-10-09 06:51:16 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-10-26 11:20:12 +0200 |
commit | 44648961671fe6b42780ab3fa95739233bad4894 (patch) | |
tree | 0c057fc4dd45de9b877ced3a88cc80ee8dac1b75 /librpc/idl/dcerpc.idl | |
parent | 0bc10e7c462065d9a1dcb27713e726f4a4e56266 (diff) | |
download | samba-44648961671fe6b42780ab3fa95739233bad4894.tar.gz |
dcerpc.idl: split the padding from a possible fault buffer in dcerpc_fault
The 4 bytes of padding are always present and part of the header.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc/idl/dcerpc.idl')
-rw-r--r-- | librpc/idl/dcerpc.idl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/librpc/idl/dcerpc.idl b/librpc/idl/dcerpc.idl index 701bde4aefb..669a603e03a 100644 --- a/librpc/idl/dcerpc.idl +++ b/librpc/idl/dcerpc.idl @@ -221,10 +221,14 @@ interface dcerpc uint32 alloc_hint; uint16 context_id; uint8 cancel_count; + uint8 flags; dcerpc_nca_status status; - [flag(NDR_REMAINING)] DATA_BLOB _pad; + [value(0)] uint32 reserved; + [flag(NDR_REMAINING)] DATA_BLOB error_and_verifier; } dcerpc_fault; + const uint8 DCERPC_FAULT_LENGTH = 32; + /* the auth types we know about */ typedef [enum8bit] enum { DCERPC_AUTH_TYPE_NONE = 0, |