aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-10-28 13:29:56 +0200
committerMichael Mann <mmann78@netscape.net>2017-10-28 12:01:22 +0000
commitb0edc623b12a60ef6afdf9bdf9f762d61748df58 (patch)
tree7b0b8832cb9b71d3bf5d95e1e7eb1c8da85b4ea5
parent695d8fc3183898d9d63c017b0b82716126a461f9 (diff)
IEEE 1905.1a: fix an infinite loop (CID 1420355)
Change-Id: Iaa8e82cb5dc9f32e5c9dbf1db1068868d6fd3f18 Reviewed-on: https://code.wireshark.org/review/24144 Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--epan/dissectors/packet-ieee1905.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee1905.c b/epan/dissectors/packet-ieee1905.c
index 4e1c387..ea418fc 100644
--- a/epan/dissectors/packet-ieee1905.c
+++ b/epan/dissectors/packet-ieee1905.c
@@ -2063,6 +2063,8 @@ dissect_l2_neighbor_device(tvbuff_t *tvb, packet_info *pinfo _U_,
behind_mac_addr_index++;
}
+ neighbor_device_index++;
+
proto_item_set_len(bmpi, offset - ndt_start_offset);
}