[Linux-kernel-mentees] [PATCH 1/2] net/bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt()
Marcel Holtmann
marcel at holtmann.org
Mon Jul 13 16:42:00 UTC 2020
Hi Peilin,
> Check `num_rsp` before using it as for-loop counter.
>
> Cc: stable at vger.kernel.org
> Signed-off-by: Peilin Ye <yepeilin.cs at gmail.com>
> ---
> net/bluetooth/hci_event.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
More information about the Linux-kernel-mentees
mailing list