diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2009-10-07 07:01:55 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2009-10-07 07:01:55 +0000 |
commit | c177dd5a0ffc6541f2eede06abd33c0e490a160e (patch) | |
tree | c5944d8c94e35d237c4198d2d0c522ed011a9143 /epan/dissectors/packet-dcerpc-samr.c | |
parent | c8605cc746755b00e6edffe7cbbeccd6e7c0f2c1 (diff) | |
download | wireshark-c177dd5a0ffc6541f2eede06abd33c0e490a160e.tar.gz wireshark-c177dd5a0ffc6541f2eede06abd33c0e490a160e.tar.bz2 wireshark-c177dd5a0ffc6541f2eede06abd33c0e490a160e.zip |
new samr compiled as a test by the samba4 pidl compiler from mainline
svn path=/trunk/; revision=30383
Diffstat (limited to 'epan/dissectors/packet-dcerpc-samr.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-samr.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/epan/dissectors/packet-dcerpc-samr.c b/epan/dissectors/packet-dcerpc-samr.c index b983d44478..fb1c21e170 100644 --- a/epan/dissectors/packet-dcerpc-samr.c +++ b/epan/dissectors/packet-dcerpc-samr.c @@ -2136,7 +2136,6 @@ static int cnf_dissect_sec_desc_buf_(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { guint64 len; - guint32 len32; dcerpc_info *di = NULL; e_ctx_hnd *polhnd = NULL; dcerpc_call_value *dcv = NULL; @@ -2149,10 +2148,6 @@ cnf_dissect_sec_desc_buf_(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_t } offset = dissect_ndr_uint3264 (tvb, offset, pinfo, tree, drep, hf_samr_sec_desc_buf_len, &len); - - DISSECTOR_ASSERT(len<=G_MAXUINT32); - len32 = (guint32)len; - dcv = (dcerpc_call_value *)di->call_data; if(dcv){ polhnd = dcv->pol; @@ -2178,8 +2173,8 @@ cnf_dissect_sec_desc_buf_(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_t ami=&samr_alias_access_mask_info; break; } - dissect_nt_sec_desc(tvb, offset, pinfo, tree, drep, TRUE, len32, ami); - offset += len32; + dissect_nt_sec_desc(tvb, offset, pinfo, tree, drep, TRUE, len, ami); + offset += len; return offset; } static int |