OpenCloudOS-Kernel/net/nfc
Sasha Levin 58d1eab7ef 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>
2012-06-08 13:47:07 -04:00
..
hci NFC: HCI drivers don't have to keep track of polling state 2012-05-15 17:31:22 -04:00
llcp NFC: Fix possible NULL ptr deref when getting the name of a socket 2012-06-08 13:47:07 -04:00
nci NFC: Quiet nci/ntf.c sparse noise about plain integer as NULL pointer 2012-05-15 17:30:30 -04:00
Kconfig NFC: HCI support 2012-04-12 15:10:34 -04:00
Makefile NFC: HCI support 2012-04-12 15:10:34 -04:00
af_nfc.c NFC: Core code identation fixes 2012-03-06 15:16:25 -05:00
core.c NFC: Specify usage for targets found and target lost events 2012-05-15 17:28:00 -04:00
netlink.c NFC: The NFC genl family structure should not be exposed globally 2012-05-15 17:30:30 -04:00
nfc.h NFC: Fix LLCP compilation warning 2012-05-15 17:30:29 -04:00
rawsock.c NFC: Fix next target_idx type and rename for clarity 2012-04-12 15:10:37 -04:00