forked from osmocom/wireshark
ieee802154: fix a bug preventing Payload Terminate IE dissection
Bug: 13867 Change-Id: Ib251b8646ddf428f0aa053dd91b613c027145d20 Reviewed-on: https://code.wireshark.org/review/22499 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
faed12e6ff
commit
2c58ed569e
|
@ -3012,7 +3012,7 @@ dissect_ieee802154_payload_ie(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
|
|||
offset += pie_length;
|
||||
}
|
||||
}
|
||||
} while ((tvb_reported_length_remaining(tvb, offset) - IEEE802154_FCS_LEN > 1)
|
||||
} while ((tvb_reported_length_remaining(tvb, offset) > 1)
|
||||
&& (pie_id != IEEE802154_PAYLOAD_IE_GID_TERM));
|
||||
|
||||
// Once the dissection is over, the length of the header is known
|
||||
|
|
Loading…
Reference in New Issue