diff options
| author | Peilin Ye <yepeilin.cs@gmail.com> | 2020-07-10 17:45:26 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 10:52:55 +0200 |
| commit | 1308701555ad5d0d277f2ba26143298b1a85651e (patch) | |
| tree | 9fb942c04b4b687cc4f62970732e6f8c50e21c8b /include/linux/debugobjects.h | |
| parent | a3cc6834b0e2c39c9e8d84f67745c501b33867b1 (diff) | |
Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_with_rssi_evt()
commit 629b49c848ee71244203934347bd7730b0ddee8d upstream.
Check `num_rsp` before using it as for-loop counter. Add `unlock` label.
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
