mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
NFC: nci: fix possible crash in nci_core_conn_create
If the number of destination speific parameters supplied is 0 the call will fail. If the first destination specific parameter does not have a value, curr_id will be set to 0. Signed-off-by: Robert Dolca <robert.dolca@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
22e4bd09c4
commit
caa575a86e
1 changed files with 8 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue