Commit: e63175ecf66f682721f2ba0337f65330aa798744
Parent: 1206eee71cd475882f0af9c4ec7990ae4822ddfe
Author: Matias Karhumaa <matias.karhumaa@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2018-10-18 19:10:19
Tree: 0831e392904b582d72cc06553fdd6d74c4922d66

btmon: fix segfault caused by buffer over-read Fix segfault caused by buffer over-read in btmon. Fix is to check in packet_monitor() that index is not bigger than MAX_INDEX before accessing index_list. Crash was found by fuzzing btmon with AFL.

Diffstat

M monitor/packet.c | 5 +++++

1 files changed, 5 insertions(+), 0 deletions(-)

View Full Diff | Patch