NFC: Prevent multiple buffer overflows in NCI
NFC: Prevent multiple buffer overflows in NCI

Fix multiple remotely-exploitable stack-based buffer overflows due to
the NCI code pulling length fields directly from incoming frames and
copying too much data into statically-sized arrays.

Signed-off-by: Dan Rosenberg <eae8df918674d018776356cca2a43d000e4169dc@gmail.com>
Cc: 4fbacc2fa0ffdbb11bf1ad6925b886ebd08dd15f@kernel.org
Cc: 8eec7bc461808e0b8a28783d0bec1a3a22eb0821@kernel.org
Cc: Lauro Ramos Venancio <8934cef4e87a103404d8613f46f246ce73c96429@openbossa.org>
Cc: Aloisio Almeida Jr <a795f5160f08362a13b4ee279e05be23ef8bde65@openbossa.org>
Cc: Samuel Ortiz <0ba86cb3f08bbb861958e54bd3438887adb4263c@linux.intel.com>
Cc: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>
Acked-by: Ilan Elias <30935e57e1a353b384bc97cbeb2afef4da587dd2@ti.com>
Signed-off-by: Samuel Ortiz <0ba86cb3f08bbb861958e54bd3438887adb4263c@linux.intel.com>

KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas