diff options
author | 2015-03-17 11:38:24 -0700 | |
---|---|---|
committer | 2015-03-18 08:30:03 +0200 | |
commit | 63511f6d5ba0c20850448991be297751ddb6798c (patch) | |
tree | dbc670d6296219f8fa8882b287ca0967944f2fc5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Bluetooth: Add workaround for broken OS X legacy SMP pairing (diff) | |
download | wireguard-linux-63511f6d5ba0c20850448991be297751ddb6798c.tar.xz wireguard-linux-63511f6d5ba0c20850448991be297751ddb6798c.zip |
Bluetooth: Fix potential NULL dereference in SMP channel setup
When the allocation of the L2CAP channel for the BR/EDR security manager
fails, then the smp variable might be NULL. In that case do not try to
free the non-existing crypto contexts
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions