diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-12-24 16:42:23 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-12-24 17:44:08 +0000 |
commit | d3888ff69fffd3a0a0fe809a4608757b5c78da06 (patch) | |
tree | 8e490f41097505fc6f57370e588c50f42def1a17 /epan/dissectors/packet-rsvp.c | |
parent | 762bb18b9dd7bc5499db2b715c2854b5f401fab4 (diff) |
RSVP: fix display of unknown Juniper Attribut
Get "Trying to fetch an unsigned integer with length" when length > 4
Change-Id: If5e53b826d98f2c30253ea852754f856e1d29088
Reviewed-on: https://code.wireshark.org/review/6038
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-rsvp.c')
-rw-r--r-- | epan/dissectors/packet-rsvp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rsvp.c b/epan/dissectors/packet-rsvp.c index a18946be9d..837755f00f 100644 --- a/epan/dissectors/packet-rsvp.c +++ b/epan/dissectors/packet-rsvp.c @@ -6816,7 +6816,7 @@ dissect_rsvp_juniper(proto_tree *ti _U_, break; default: proto_tree_add_item(rsvp_object_tree, hf_rsvp_juniper_attrib_unknown, tvb, - offset, l-2, ENC_BIG_ENDIAN); + offset, l-2, ENC_NA); offset += (l-2); break; } @@ -8946,7 +8946,7 @@ proto_register_rsvp(void) { &hf_rsvp_juniper_attrib_unknown, { "Unknown", "rsvp.juniper.attrib.unknown", - FT_UINT16, BASE_HEX, NULL, 0, + FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, |