diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2012-10-23 20:27:57 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2012-10-23 20:27:57 +0000 |
commit | 67fdfbbcdef91c9fddbddbed1c10d42610031b34 (patch) | |
tree | eb22bf189403e633013c5c9d5c3e8e193080dde9 /epan/dissectors/packet-bthci_evt.c | |
parent | afc96b6276c1cc4b370fb6aa05b44706b24de140 (diff) |
From Allan M. Madsen via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7905 :
Fix infinite loop in bthci_evt eir data handling
svn path=/trunk/; revision=45739
Diffstat (limited to 'epan/dissectors/packet-bthci_evt.c')
-rw-r--r-- | epan/dissectors/packet-bthci_evt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bthci_evt.c b/epan/dissectors/packet-bthci_evt.c index e21bcf4e09..0b50af30f3 100644 --- a/epan/dissectors/packet-bthci_evt.c +++ b/epan/dissectors/packet-bthci_evt.c @@ -1454,7 +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) { - guint8 i, j, length, type; + guint16 i; + guint8 j, length, type; proto_item *ti_eir=NULL; proto_item *ti_eir_subtree=NULL; |