I've moved the check for "number_destination_params" forward
a few lines to avoid leaking "cmd".
Fixes: caa575a86ec1 ('NFC: nci: fix possible crash in nci_core_conn_create')
Acked-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
|
||
|---|---|---|
| .. | ||
| core.c | ||
| data.c | ||
| hci.c | ||
| Kconfig | ||
| lib.c | ||
| Makefile | ||
| ntf.c | ||
| rsp.c | ||
| spi.c | ||
| uart.c | ||