aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bthci_evt.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2012-10-23 20:35:19 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2012-10-23 20:35:19 +0000
commitc9b7d8c3c233b1108c8549f970ebd11a91a45608 (patch)
treeed67c7e1bb9434f7156a5432adc3afa662d4407b /epan/dissectors/packet-bthci_evt.c
parent67fdfbbcdef91c9fddbddbed1c10d42610031b34 (diff)
j should also be guint16 to prevent overflows in the while-loops
svn path=/trunk/; revision=45740
Diffstat (limited to 'epan/dissectors/packet-bthci_evt.c')
-rw-r--r--epan/dissectors/packet-bthci_evt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bthci_evt.c b/epan/dissectors/packet-bthci_evt.c
index 0b50af30f3..0f7f07f5cd 100644
--- a/epan/dissectors/packet-bthci_evt.c
+++ b/epan/dissectors/packet-bthci_evt.c
@@ -1454,8 +1454,8 @@ dissect_bthci_evt_inq_result_with_rssi(tvbuff_t *tvb, int offset, packet_info *p
static int
dissect_bthci_evt_eir_ad_data(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, guint8 size)
{
- guint16 i;
- guint8 j, length, type;
+ guint16 i, j;
+ guint8 length, type;
proto_item *ti_eir=NULL;
proto_item *ti_eir_subtree=NULL;