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:
Bill Meier 2014-12-10 01:52:31 -05:00 committed by Anders Broman
parent adb81f335d
commit f2224bc578
1 changed files with 1 additions and 1 deletions

View File

@ -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,