diff options
author | Ian Chard <ian@chard.org> | 2018-10-04 10:58:34 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-10-04 10:31:15 +0000 |
commit | b2eb2dce1ae3f417b587750782019d2a31c401ed (patch) | |
tree | a27b4658993e1c22a7a8dc9067c73f487589914f /epan | |
parent | c21ecc1308502176f845a933adc29852ec6b7666 (diff) |
XDMCP: fix assertion failure due to tvb not being passed
Bug: 15161
Change-Id: I9884e793fa40dde8c3c097b8d46b92ea012d8fef
Reviewed-on: https://code.wireshark.org/review/30010
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-xdmcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-xdmcp.c b/epan/dissectors/packet-xdmcp.c index 13718bc09f..c15ea39a04 100644 --- a/epan/dissectors/packet-xdmcp.c +++ b/epan/dissectors/packet-xdmcp.c @@ -313,7 +313,7 @@ static int dissect_xdmcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, vo alen = tvb_get_ntohs(tvb, caddrs_offset); caddrs_offset += 2; - connection_tree = proto_tree_add_subtree_format(clist_tree, NULL, 0, 0, + connection_tree = proto_tree_add_subtree_format(clist_tree, tvb, 0, 0, ett_xdmcp_connection, &connection_ti, "Connection %d", n); proto_tree_add_item(connection_tree, hf_xdmcp_connection_type, tvb, offset-2, 2, ENC_BIG_ENDIAN); |