aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorNathan Holstein <[email protected]>2010-10-15 11:54:02 -0400
committerGustavo F. Padovan <[email protected]>2010-10-17 21:19:19 -0200
commitd793fe8caa3911e6a1e826b45d4ee00d250cdec8 (patch)
tree7b89346a23d81e5ca5c7d57d2f51c5fc32f34f8a /net/unix/sysctl_net_unix.c
parentcd07202cc8262e1669edff0d97715f3dd9260917 (diff)
Bluetooth: fix oops in l2cap_connect_req
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 <[email protected]> Acked-by: Marcel Holtmann <[email protected]> Signed-off-by: Gustavo F. Padovan <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions