linux_dsm_epyc7002/drivers/nfc
Dan Carpenter 885ba1da68 NFC: potential integer overflow problem in check_crc()
If "buf[0]" is 255 then "len" gets set to 0.  The call to
"crc_ccitt(0xffff, buf, len - 2);" casts the "len - 2" to a high
positive number which is ugly.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-05-25 11:16:16 -04:00
..
Kconfig NFC: HCI based pn544 driver 2012-05-15 17:30:30 -04:00
Makefile NFC: HCI based pn544 driver 2012-05-15 17:30:30 -04:00
nfcwilink.c NFC: Free sk_buff if nfcwilink_send fails 2012-01-24 14:21:56 -05:00
pn533.c NFC: Remove unneeded pn533 dev NULL check 2012-05-15 17:28:01 -04:00
pn544_hci.c NFC: potential integer overflow problem in check_crc() 2012-05-25 11:16:16 -04:00
pn544.c drivers/nfc/pn544.c: add missing regulator 2011-02-25 15:07:36 -08:00