Commit: 1206eee71cd475882f0af9c4ec7990ae4822ddfe
Parent: 8da5f210c47832404f01c5d059c4956e745b858b
Author: Matias Karhumaa <matias.karhumaa@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2018-10-18 19:10:14
Tree: 2f15d0b8cbd6e57b987f2e604a3068f6a7a73c89

btmon: fix segfault caused by integer undeflow Fix segfault caused by integer underflow. Fix is to check that rsp->num_codecs + 3 is not bigger than size before subtracting. 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