OpenCloudOS-Kernel/net/nfc
Dan Carpenter 8ebafde00e NFC: use after free on error
We returned a freed variable on some error paths when the intent was
to return a NULL.  Part of the reason this was missed was that the
code was confusing because it had too many gotos so I removed them
and simplified the flow a bit.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-09-27 14:34:10 -04:00
..
nci NFC: use after free on error 2011-09-27 14:34:10 -04:00
Kconfig NFC: basic NCI protocol implementation 2011-09-20 14:43:49 -04:00
Makefile NFC: basic NCI protocol implementation 2011-09-20 14:43:49 -04:00
af_nfc.c NFC: add NFC socket family 2011-07-05 15:26:58 -04:00
core.c NFC: Add dev_up and dev_down control operations 2011-09-20 14:43:49 -04:00
netlink.c NFC: Add dev_up and dev_down control operations 2011-09-20 14:43:49 -04:00
nfc.h NFC: move nfc.h from include/net to include/net/nfc 2011-09-20 14:43:49 -04:00
rawsock.c NFC: Reserve tx head and tail room 2011-08-24 14:41:44 -04:00