Re: [Linux-kernel-mentees] [PATCH 1/2] net/bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt()
From: Marcel Holtmann
Date: Mon Jul 13 2020 - 12:42:06 EST
Hi Peilin,
> Check `num_rsp` before using it as for-loop counter.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Peilin Ye <yepeilin.cs@xxxxxxxxx>
> ---
> net/bluetooth/hci_event.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel