Messages in this thread | | | Subject | Re: [Linux-kernel-mentees] [PATCH 1/2] net/bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt() | From | Marcel Holtmann <> | Date | Mon, 13 Jul 2020 18:42:00 +0200 |
| |
Hi Peilin,
> Check `num_rsp` before using it as for-loop counter. > > Cc: stable@vger.kernel.org > Signed-off-by: Peilin Ye <yepeilin.cs@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
| |