diff options
author | Michael Mann <mmann78@netscape.net> | 2013-10-21 15:50:23 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-10-21 15:50:23 +0000 |
commit | 598726be021328ed8d87e4affe7cc5793f85c3cf (patch) | |
tree | 50e769a3a46e96a197248f82b369e77f0b5d2ab8 /epan | |
parent | 8ee3d11818bd7eb10a0672d47dd8f93bb0ec3c0b (diff) |
Datablob size is NDR64/32 dependant. Bug 9301 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9301).
From Matthieu Patou
svn path=/trunk/; revision=52734
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-dcerpc-nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.c b/epan/dissectors/packet-dcerpc-nt.c index 49a15fd12d..2782387c44 100644 --- a/epan/dissectors/packet-dcerpc-nt.c +++ b/epan/dissectors/packet-dcerpc-nt.c @@ -82,7 +82,7 @@ dissect_ndr_datablob(tvbuff_t *tvb, int offset, packet_info *pinfo, int use_remaining_space) { proto_item *item; - guint32 len; + guint3264 len; proto_tree *subtree = tree; item = proto_tree_add_text(tree, tvb, offset, 0, "%s", @@ -93,7 +93,7 @@ dissect_ndr_datablob(tvbuff_t *tvb, int offset, packet_info *pinfo, if (use_remaining_space) { len = tvb_length_remaining (tvb, offset); } else { - offset = dissect_ndr_uint32(tvb, offset, pinfo, subtree, drep, + offset = dissect_ndr_uint3264(tvb, offset, pinfo, subtree, drep, hf_nt_data_blob_len, &len); } proto_tree_add_text(subtree, tvb, offset, len, "Blob data"); |