]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix potential NULL dereference in RFCOMM bind callback
authorJaganath Kanakkassery <jaganath.k@samsung.com>
Thu, 14 May 2015 07:28:08 +0000 (12:58 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Jun 2015 06:44:33 +0000 (08:44 +0200)
commit7eea75758f5e381224a40b24d700fef815f08907
treebbc263be24eaecadb4b15f060e026802bb57860c
parent96fd8947febc4cd1d49a192a7c1b7a5132df6cbe
Bluetooth: Fix potential NULL dereference in RFCOMM bind callback

addr can be NULL and it should not be dereferenced before NULL checking.

Signed-off-by: Jaganath Kanakkassery <jaganath.k@samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/rfcomm/sock.c