forked from osmocom/wireshark
XRA: protect against potential infinite loops and add protocol to release notes
Change-Id: Ib1dc560e0c0c83ada668ada2da799808d5d10fc2 Reviewed-on: https://code.wireshark.org/review/25776 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
af6433196e
commit
2bff4c197b
|
@ -85,6 +85,7 @@ Bluetooth Mesh
|
|||
Broadcom tags (Broadcom Ethernet switch management frames)
|
||||
CVS password server
|
||||
CAN-ETH
|
||||
Excentis DOCSIS31 XRA header
|
||||
FP Mux
|
||||
GRPC (gRPC)
|
||||
IEEE 1905.1a
|
||||
|
|
|
@ -415,7 +415,7 @@ dissect_xra_tlv_cw_info(tvbuff_t * tvb, proto_tree * tree, void* data _U_, guint
|
|||
it = proto_tree_add_item (tree, hf_xra_tlv_cw_info, tvb, 0, tlv_length, ENC_NA);
|
||||
xra_tlv_cw_info_tree = proto_item_add_subtree (it, ett_xra_tlv_cw_info);
|
||||
|
||||
guint16 tlv_index =0;
|
||||
guint32 tlv_index =0;
|
||||
while (tlv_index < tlv_length) {
|
||||
guint8 type = tvb_get_guint8 (tvb, tlv_index);
|
||||
++tlv_index;
|
||||
|
@ -464,7 +464,7 @@ dissect_xra_tlv_ms_info(tvbuff_t * tvb, proto_tree * tree, void* data _U_, guint
|
|||
it = proto_tree_add_item (tree, hf_xra_tlv_ms_info, tvb, 0, tlv_length, ENC_NA);
|
||||
xra_tlv_ms_info_tree = proto_item_add_subtree (it, ett_xra_tlv_ms_info);
|
||||
|
||||
guint16 tlv_index =0;
|
||||
guint32 tlv_index =0;
|
||||
while (tlv_index < tlv_length) {
|
||||
guint8 type = tvb_get_guint8 (tvb, tlv_index);
|
||||
++tlv_index;
|
||||
|
@ -498,7 +498,7 @@ dissect_xra_tlv_burst_info(tvbuff_t * tvb, proto_tree * tree, void* data _U_, gu
|
|||
it = proto_tree_add_item (tree, hf_xra_tlv_burst_info, tvb, 0, tlv_length, ENC_NA);
|
||||
xra_tlv_burst_info_tree = proto_item_add_subtree (it, ett_xra_tlv_burst_info);
|
||||
|
||||
guint16 tlv_index =0;
|
||||
guint32 tlv_index =0;
|
||||
while (tlv_index < tlv_length) {
|
||||
guint8 type = tvb_get_guint8 (tvb, tlv_index);
|
||||
++tlv_index;
|
||||
|
|
Loading…
Reference in New Issue