diff options
author | Loic Poulain <loic.poulain@intel.com> | 2017-05-23 11:51:00 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-05-23 16:19:38 +0200 |
commit | a6187ffdfcc854ce4d97f307e12508a4bde8bcf3 (patch) | |
tree | 01d4ffd7504f07588b22ccc439a86a3b6a5627f2 /drivers/bluetooth/btintel.c | |
parent | 823b84201f4a719414d61b105fd23706c5668ab5 (diff) | |
download | linux-a6187ffdfcc854ce4d97f307e12508a4bde8bcf3.tar.gz |
Bluetooth: btwilink: Fix unexpected skb free
The caller (hci_core) still owns the skb in case of error, releasing
it inside the send function can lead to use-after-free errors.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btintel.c')
0 files changed, 0 insertions, 0 deletions