aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorJohan Hedberg <[email protected]>2015-07-20 20:31:25 +0300
committerMarcel Holtmann <[email protected]>2015-07-23 16:41:24 +0200
commit25ba265390c09b0a2b2f3fd9ba82e37248b7a371 (patch)
treec8b2d2203008ca2a55d261b0e9bdcb645a38f66a /scripts/gdb/vmlinux-gdb.py
parentc5dfd654d0ec0a28fe81e7bd4d4fd984a9855e09 (diff)
Bluetooth: Fix NULL pointer dereference in smp_conn_security
The l2cap_conn->smp pointer may be NULL for various valid reasons where SMP has failed to initialize properly. One such scenario is when crypto support is missing, another when the adapter has been powered on through a legacy method. The smp_conn_security() function should have the appropriate check for this situation to avoid NULL pointer dereferences. Signed-off-by: Johan Hedberg <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]> Cc: [email protected] # 4.0+
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions