Files
i2som-imx-linux/net/bluetooth
Jaganath Kanakkassery 4ccd61d9e1 Bluetooth: Fix potential NULL dereference in RFCOMM bind callback
commit 951b6a0717 upstream.

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>
[bwh: Backported to 3.2:
 - There's no 'chan' variable
 - Keep using batostr() to log addresses
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2016-11-20 01:01:43 +00:00
..