diff options
author | Jonathan Muñoz <jonathan.munoz@inria.fr> | 2016-09-08 09:40:09 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-10-11 14:29:41 +0000 |
commit | 53c20dd179ca60a9cf7bdfffe0af8c1a9b5c1f8b (patch) | |
tree | 6184764c582ff3bea5a5e81972998967cac1bd89 /epan | |
parent | 082424fb70256972b3b6722a81d1ca808c3b8a7e (diff) |
ieee802.15.4: Increments the offset for not defined/unknown Payload IEs
Change-Id: If8d5fe86c6c1bedd468de437e503039428c648b0
Reviewed-on: https://code.wireshark.org/review/18150
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ieee802154.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee802154.c b/epan/dissectors/packet-ieee802154.c index ab21a3903f..e77c83956d 100644 --- a/epan/dissectors/packet-ieee802154.c +++ b/epan/dissectors/packet-ieee802154.c @@ -2235,6 +2235,7 @@ dissect_ieee802154_payload_ie(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree default: /* just use the data dissector */ if (pie_length > 0) { proto_tree_add_item(subtree, hf_ieee802154_payload_ie_data, tvb, offset, pie_length, ENC_NA); + offset += pie_length; } } } while ((tvb_reported_length_remaining(tvb, offset) - IEEE802154_FCS_LEN > 1) && (pie_id != IEEE802154_PAYLOAD_IE_GID_TERM)); |