linux/net/nfc/nci
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
..
core.c NFC: use after free on error 2011-09-27 14:34:10 -04:00
data.c NFC: protect nci_data_exchange transactions 2011-09-27 14:34:05 -04:00
Kconfig NFC: basic NCI protocol implementation 2011-09-20 14:43:49 -04:00
lib.c 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
ntf.c NFC: protect nci_data_exchange transactions 2011-09-27 14:34:05 -04:00
rsp.c NFC: basic NCI protocol implementation 2011-09-20 14:43:49 -04:00