WSL2-Linux-Kernel/drivers/net/can
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
..
c_can drivers/net/can/c_can: don't use devm_pinctrl_get_select_default() in probe 2013-07-11 17:18:26 -07:00
cc770 net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
mscan net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
sja1000 net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
softing net: can: replace strict_strtoul() with kstrtoul() 2013-06-03 00:39:46 -07:00
usb can: pcan_usb: fix wrong memcpy() bytes length 2013-08-11 21:51:49 -07:00
Kconfig can: flexcan: remove HAVE_CAN_FLEXCAN Kconfig symbol 2013-06-03 13:13:49 +02:00
Makefile can: add tx/rx LED trigger support 2013-01-26 16:58:59 +01:00
at91_can.c can: at91_can: Use of_match_ptr() 2013-06-27 15:15:42 +02:00
bfin_can.c net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
dev.c can: rework skb reserved data handling 2013-01-28 18:17:25 -05:00
flexcan.c can: flexcan: Use a regulator to control the CAN transceiver 2013-06-27 15:15:25 +02:00
grcan.c net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
janz-ican3.c net: can: replace strict_strtoul() with kstrtoul() 2013-06-03 00:39:46 -07:00
led.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
mcp251x.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-04-22 20:32:51 -04:00
pch_can.c can: pch_can: fix invalid error codes 2013-01-26 17:13:41 +01:00
slcan.c net: can: replace strict_strtoul() with kstrtoul() 2013-06-03 00:39:46 -07:00
ti_hecc.c net: can: ti_hecc: remove unnecessary platform_set_drvdata() 2013-05-16 13:27:20 +02:00
vcan.c