summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-06-26 22:12:49 +0200
committerGünther Deschner <gd@samba.org>2015-07-07 14:05:28 +0200
commit9c165e550491339fbea1222b26b78e75658ec876 (patch)
treefd5d331a89f395926d165661f103953d56d02f47 /librpc
parent9f62c4e47b43d6ef7e32dedd13749de613cfc4d0 (diff)
downloadsamba-9c165e550491339fbea1222b26b78e75658ec876.tar.gz
dcerpc.idl: fix calculatin of uint16 secondary_address_size;
This should be 0 for secondary_address = "". Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/dcerpc.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/dcerpc.idl b/librpc/idl/dcerpc.idl
index 67f4b9d942c..63be48e5280 100644
--- a/librpc/idl/dcerpc.idl
+++ b/librpc/idl/dcerpc.idl
@@ -106,7 +106,7 @@ interface dcerpc
uint16 max_xmit_frag;
uint16 max_recv_frag;
uint32 assoc_group_id;
- [value(strlen(secondary_address)+1)] uint16 secondary_address_size;
+ [value(strlen_m_term_null(secondary_address))] uint16 secondary_address_size;
[charset(DOS)] uint8 secondary_address[secondary_address_size];
[flag(NDR_ALIGN4)] DATA_BLOB _pad1;
uint8 num_results;