[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <72AE7F80-CE19-4051-85DB-60A3FD80D390@holtmann.org>
Date: Mon, 13 Jul 2020 18:42:00 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Peilin Ye <yepeilin.cs@...il.com>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Russell King <linux@...linux.org.uk>,
Greg KH <gregkh@...uxfoundation.org>,
linux-bluetooth@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [Linux-kernel-mentees] [PATCH 1/2] net/bluetooth: Prevent
out-of-bounds read in hci_inquiry_result_evt()
Hi Peilin,
> Check `num_rsp` before using it as for-loop counter.
>
> Cc: stable@...r.kernel.org
> Signed-off-by: Peilin Ye <yepeilin.cs@...il.com>
> ---
> net/bluetooth/hci_event.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists