linux/net/nfc/nci
Christophe Ricard 4fbdb44239 nfc: nci: hci: Add check on skb nci_hci_send_cmd parameter
commit 5a9e0ffc0f upstream.

skb can be NULL and may lead to a NULL pointer error.

Add a check condition before setting HCI rx buffer.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-09-29 19:25:55 +02:00
..
core.c NFC: nci: Add firmware download support 2015-03-26 10:56:20 +01:00
data.c NFC: nci: Add dynamic logical connections support 2015-02-02 21:50:31 +01:00
hci.c nfc: nci: hci: Add check on skb nci_hci_send_cmd parameter 2015-09-29 19:25:55 +02:00
Kconfig NFC: Fix NCI over SPI build 2013-07-19 16:55:26 +02:00
lib.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
Makefile NFC: nci: Add HCI over NCI protocol support 2015-02-02 21:50:40 +01:00
ntf.c NFC: nci: Move logical connection structure allocation 2015-02-04 09:14:09 +01:00
rsp.c NFC: nci: Move logical connection structure allocation 2015-02-04 09:14:09 +01:00
spi.c NFC: NCI: Use reinit_completion() at appropriate places 2014-02-23 23:32:18 +01:00