linux/drivers/net/can/usb
Maximilian Schneider 233a26e85f net: can: esd_usb2: check index of array before accessing
The esd_usb2_read_bulk_callback() function is parsing the data that comes from
the USB CAN adapter. One datum is used as an index to access the dev->nets[]
array. This patch adds the missing bounds checking.

Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Maximilian Schneider <max@schneidersoft.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-07-19 14:55:13 +02:00
..
peak_usb net: can: peak_usb: Do not do dma on the stack 2013-06-03 14:05:32 +02:00
ems_usb.c drivers: net: Remove remaining alloc/OOM messages 2013-02-08 17:44:39 -05:00
esd_usb2.c net: can: esd_usb2: check index of array before accessing 2013-07-19 14:55:13 +02:00
Kconfig can: usb_8dev: Add support for USB2CAN interface from 8 devices 2013-01-26 16:58:58 +01:00
kvaser_usb.c net: can: kvaser_usb: fix reception on "USBcan Pro" and "USBcan R" type hardware. 2013-06-03 14:02:56 +02:00
Makefile can: usb_8dev: Add support for USB2CAN interface from 8 devices 2013-01-26 16:58:58 +01:00
usb_8dev.c can: usb_8dev: unregister netdev before free()ing 2013-06-19 08:56:10 +02:00