linux_old1/drivers/net/can/usb/peak_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
..
Makefile can: usb: PEAK-System Technik PCAN-USB Pro specific part 2012-03-03 17:40:58 +01:00
pcan_usb.c can: pcan_usb: fix wrong memcpy() bytes length 2013-08-11 21:51:49 -07:00
pcan_usb_core.c can: Remove unnecessary alloc/OOM messages 2013-02-04 13:22:33 -05:00
pcan_usb_core.h can: pcan_usb_core: remove obsolete variable open_time 2012-11-29 14:34:06 +01:00
pcan_usb_pro.c net: can: peak_usb: Do not do dma on the stack 2013-06-03 14:05:32 +02:00
pcan_usb_pro.h net: can: peak_usb: Do not do dma on the stack 2013-06-03 14:05:32 +02:00