diff options
| author | Peilin Ye <yepeilin.cs@gmail.com> | 2020-07-10 17:39:18 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 10:52:55 +0200 |
| commit | a3cc6834b0e2c39c9e8d84f67745c501b33867b1 (patch) | |
| tree | fb5e8f3b7e51f96469ddd2d15be979c64b59b240 /include/linux/debugobjects.h | |
| parent | 491602ede684bb8554254f12f4b1bd242dd15c61 (diff) | |
Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt()
commit 75bbd2ea50ba1c5d9da878a17e92eac02fe0fd3a upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
