aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2018-01-03 07:53:20 +0100
committerAnders Broman <a.broman58@gmail.com>2018-01-03 11:59:50 +0000
commitdf6b67d54d1bd8d7dbba132d9d58dc50afbb1116 (patch)
tree8f6793a8fb2ade685631cea34582d3f7a0057d1b
parentd1fe22d14e6a4cbc27728bcd45b5f646dc59a5ac (diff)
QUIC(TLS): Fix length of parameter tree
Bug: 13881 Change-Id: I583c9290c5e4d2aaefc2d3ae09babfa82dfbd299 Reviewed-on: https://code.wireshark.org/review/25118 Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-ssl-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl-utils.c b/epan/dissectors/packet-ssl-utils.c
index 9c24fb1681..ae4a3fa782 100644
--- a/epan/dissectors/packet-ssl-utils.c
+++ b/epan/dissectors/packet-ssl-utils.c
@@ -6550,6 +6550,7 @@ ssl_dissect_hnd_hello_ext_quic_transport_parameters(ssl_common_dissect_t *hf, tv
}
offset += 2;
proto_item_append_text(parameter_tree, " (len=%u)", parameter_length);
+ proto_item_set_len(parameter_tree, 4 + parameter_length);
proto_tree_add_item(parameter_tree, hf->hf.hs_ext_quictp_parameter_value,
tvb, offset, parameter_length, ENC_NA);