Skip to content
Commit 70d1e884 authored by Peilin Ye's avatar Peilin Ye Committed by Greg Kroah-Hartman
Browse files

Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt()



commit 75bbd2ea upstream.

Check `num_rsp` before using it as for-loop counter.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarPeilin Ye <yepeilin.cs@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c26eaaf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment