alistair23-linux/drivers/net/can/usb
Stephane Grosjean 3c322a56b0 can: pcan_usb: fix wrong memcpy() bytes length
Fix possibly wrong memcpy() bytes length since some CAN records received from
PCAN-USB could define a DLC field in range [9..15].
In that case, the real DLC value MUST be used to move forward the record pointer
but, only 8 bytes max. MUST be copied into the data field of the struct
can_frame object of the skb given to the network core.

Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-11 21:51:49 -07:00
..
peak_usb can: pcan_usb: fix wrong memcpy() bytes length 2013-08-11 21:51:49 -07:00
ems_usb.c
esd_usb2.c net: can: esd_usb2: check index of array before accessing 2013-07-19 14:55:13 +02:00
Kconfig
kvaser_usb.c
Makefile
usb_8dev.c can: usb_8dev: fix urb leak on failure path in usb_8dev_start() 2013-07-19 14:55:14 +02:00