summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorPeilin Ye <yepeilin.cs@gmail.com>2020-07-10 17:45:26 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-21 10:52:55 +0200
commit1308701555ad5d0d277f2ba26143298b1a85651e (patch)
tree9fb942c04b4b687cc4f62970732e6f8c50e21c8b /include/linux/debugobjects.h
parenta3cc6834b0e2c39c9e8d84f67745c501b33867b1 (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