Parent: c5d07196d3937c726e0d809a9b5c8100c083890b
Author: Matias Karhumaa <matias.karhumaa@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2018-10-18 19:10:07
Tree: fa55f9a4eca5f1b07810bae893227973b5a68ded
btmon: fix segfault caused by integer underflow Fix segfault caused by integer underflow in set_event_filter_cmd(). Fix is to check that size is big enough before subtracting to prevent underflow. Crash was found by fuzzing btmon with AFL.
Diffstat
| M | monitor/packet.c | | | 14 | ++++++++++++++ |
1 files changed, 14 insertions(+), 0 deletions(-)