diff options
author | Brian Sipos <brian.sipos@gmail.com> | 2021-10-12 18:59:57 -0400 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-10-12 23:15:50 +0000 |
commit | 01e858e0a3efef54957efc0f4cae0106660dded3 (patch) | |
tree | 080b773c6f18998044399e8c057f5c854b30d8dd /epan/dissectors/packet-bpv6.c | |
parent | ade523d7baab77b6204ebc8f7a9653aee4a79bb3 (diff) |
BP: Fix crashes on invalid fuzzed inputs
Diffstat (limited to 'epan/dissectors/packet-bpv6.c')
-rw-r--r-- | epan/dissectors/packet-bpv6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bpv6.c b/epan/dissectors/packet-bpv6.c index c3c1f76f06..27175d314a 100644 --- a/epan/dissectors/packet-bpv6.c +++ b/epan/dissectors/packet-bpv6.c @@ -2072,6 +2072,8 @@ dissect_bpv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_ col_clear(pinfo->cinfo,COL_INFO); ti_bundle_protocol = proto_tree_add_item(tree, proto_bundle, tvb, offset, -1, ENC_NA); + // identify parent proto version + proto_item_append_text(ti_bundle_protocol, " Version %d", version); bundle_tree = proto_item_add_subtree(ti_bundle_protocol, ett_bundle); |