Files
linux/drivers
Stephane Grosjean d00ff4f2e5 can: pcan_usb: fix wrong memcpy() bytes length
commit 3c322a56b0 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-20 08:43:03 -07:00
..
2013-05-17 14:31:05 -04:00
2013-08-11 18:35:21 -07:00
2013-07-28 16:30:11 -07:00
2013-05-20 13:38:14 -07:00
2013-08-14 22:59:10 -07:00
2013-05-15 10:58:22 -07:00
2013-06-05 08:54:16 -06:00