commit | ff9718f8254b96dc313dd998c195c1c3769417ba | [log] [tgz] |
---|---|---|
author | Peter Krystad <pkrystad@codeaurora.org> | Thu Apr 26 16:17:50 2012 -0700 |
committer | Peter Krystad <pkrystad@codeaurora.org> | Thu Apr 26 17:15:23 2012 -0700 |
tree | 30d1e625bc2b0eba91d76e8467d45d05b9de3714 | |
parent | d7630b566fd314f3f4f778ce55a3b02929679d3d [diff] |
Bluetooth: Check for NULL pointer dereference Possible for l2cap_logical_link_complete handler to be scheduled twice with mis-behaving PAL. Since handler clears the socket pointer must check for NULL socket pointer. This fixes an infrequent crash when performing OPP or FTP transfer over AMP (Bluetooth 3.0+HS). CRs-fixed: 355451 Change-Id: I2e78529f4f1e3b411af13fe6a68a49e724a581ee Signed-off-by: Peter Krystad <pkrystad@codeaurora.org>