Parent: 0f4b19f7f94df696983d0ce3bb0515e960474cba
Author: Matias Karhumaa <matias.karhumaa@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2018-10-18 19:09:58
Tree: a2afbda7f87b1f0e3230efd913e531ab2e034018
btmon: fix multiple segfaults Fix multiple segfaults caused by buffer over-read in packet_hci_command, packet_hci_event and packet_hci_acldata. Fix is to check that index is not bigger than MAX_INDEX before accessing index_list. Crashes were found by fuzzing btmon with AFL.
Diffstat
| M | monitor/packet.c | | | 19 | +++++++++++++++++- - |
1 files changed, 17 insertions(+), 2 deletions(-)