Commit 6bba008f authored by Peter Krystad's avatar Peter Krystad
Browse files

Bluetooth: Check for NULL pointer dereference



The fix in commit ff9718f8 was not
complete.  In l2cap_logical_link_complete the socket pointer was
dereferenced in two places, the previous fix only handled one of
the locations.

This fixes an infrequent crash when performing OPP or FTP transfer
over AMP (Bluetooth 3.0+HS).

Change-Id: I730a503b143723ffff1765602151d66fe87103da
CRs-fixed: 360758
Signed-off-by: default avatarPeter Krystad <pkrystad@codeaurora.org>
parent ebdd79ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment