diff options
author | Sasha Levin <levinsasha928@gmail.com> | 2012-06-06 23:02:55 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-08 13:47:07 -0400 |
commit | 58d1eab7ef1d7ff8e448699dfd1a21b7f3303296 (patch) | |
tree | 6221c2536b5283fadc7f64bd3e2ae57dfa50dfbc /net/Makefile | |
parent | d012d04e4d6312ea157b6cf19e9689af934f5aa7 (diff) | |
download | op-kernel-dev-58d1eab7ef1d7ff8e448699dfd1a21b7f3303296.zip op-kernel-dev-58d1eab7ef1d7ff8e448699dfd1a21b7f3303296.tar.gz |
NFC: Fix possible NULL ptr deref when getting the name of a socket
llcp_sock_getname() might get called before the LLCP socket was created.
This condition isn't checked, and llcp_sock_getname will simply deref a
NULL ptr in that case.
This exists starting with d646960 ("NFC: Initial LLCP support").
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/Makefile')
0 files changed, 0 insertions, 0 deletions