diff options
author | Nathan Holstein <nathan.holstein@gmail.com> | 2010-10-15 11:54:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-22 11:03:01 -0800 |
commit | 8f836cca356e9b42c52a160bd945aad5e7173691 (patch) | |
tree | 4e5ffb59d22a73842c4673341e25f4fd9be5beae /kernel | |
parent | 5fbc4fbbb742cfb69aaf9b83512d650a601c4788 (diff) |
Bluetooth: fix oops in l2cap_connect_req
commit d793fe8caa3911e6a1e826b45d4ee00d250cdec8 upstream.
In error cases when the ACL is insecure or we fail to allocate a new
struct sock, we jump to the "response" label. If so, "sk" will be
null and the kernel crashes.
Signed-off-by: Nathan Holstein <nathan.holstein@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions