linux/drivers/nfc
Alexander Usyskin 582ab27a06 mei: bus: fix received data size check in NFC fixup
NFC version reply size checked against only header size, not against
full message size. That may lead potentially to uninitialized memory access
in version data.

That leads to warnings when version data is accessed:
drivers/misc/mei/bus-fixup.c: warning: '*((void *)&ver+11)' may be used uninitialized in this function [-Wuninitialized]:  => 212:2

Reported in
Build regressions/improvements in v4.9-rc3
https://lkml.org/lkml/2016/10/30/57

Fixes: 59fcd7c63a (mei: nfc: Initial nfc implementation)
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-31 10:25:22 -06:00
..
fdp NFC: fdp: Detect errors from fdp_nci_create_conn() 2016-07-04 12:17:56 +02:00
microread
nfcmrvl
nxp-nci nfc: Drop owner assignment from i2c_driver 2016-05-01 23:38:14 +02:00
pn533 NFC: pn533: double free on error in probe() 2016-07-04 12:15:00 +02:00
pn544 nfc: Drop owner assignment from i2c_driver 2016-05-01 23:38:14 +02:00
s3fwrn5
st21nfca nfc: st21nfca: Remove duplicated ST21NFCA_ESE_HOST_ID from se.c 2016-05-04 01:40:28 +02:00
st95hf
st-nci nfc: st-nci: Move loopback usage from HCI to NCI 2016-05-04 01:51:42 +02:00
Kconfig NFC: nfcsim: Fix missing dependency on NFC_DIGITAL 2016-07-06 10:02:09 +02:00
Makefile
mei_phy.c mei: bus: fix received data size check in NFC fixup 2016-10-31 10:25:22 -06:00
mei_phy.h
nfcsim.c NFC: nfcsim: Simulate lost frames through debugfs entry 2016-07-19 23:24:49 +02:00
nfcwilink.c drivers: misc: ti-st: Use int instead of fuzzy char for callback status 2016-07-17 19:59:26 +02:00
port100.c NFC: port100: Abort current command before switching RF off 2016-07-06 10:02:08 +02:00
trf7970a.c NFC: trf7970a: add TI recommended write of zero to Register 0x18 2016-07-04 12:20:21 +02:00