Home
last modified time | relevance | path

Searched hist:"75 bbd2ea" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/bluetooth/
H A Dhci_event.c75bbd2ea Fri Jul 10 16:39:18 CDT 2020 Peilin Ye <yepeilin.cs@gmail.com> Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt()

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

Cc: stable@vger.kernel.org
Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
75bbd2ea Fri Jul 10 16:39:18 CDT 2020 Peilin Ye <yepeilin.cs@gmail.com> Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt()

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

Cc: stable@vger.kernel.org
Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>