rpc: Prevent "malformed" for RPC 'NULL proc' packets.
Bug: 10646 Change-Id: Ifb96768969a43c59367b73e7bb940ceeb02cf6b0 Reviewed-on: https://code.wireshark.org/review/5700 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
adb81f335d
commit
f2224bc578
|
@ -2649,7 +2649,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
|||
if (tree && (flavor != FLAVOR_AUTHGSSAPI_MSG)) {
|
||||
proto_item *tmp_item;
|
||||
|
||||
pitem = proto_tree_add_item(tree, proto_id, tvb, offset, -1, ENC_NA);
|
||||
pitem = proto_tree_add_item(tree, proto_id, tvb, offset, tvb_reported_length_remaining(tvb, offset), ENC_NA);
|
||||
ptree = proto_item_add_subtree(pitem, ett);
|
||||
|
||||
tmp_item=proto_tree_add_uint(ptree,
|
||||
|
|
Loading…
Reference in New Issue