Sven SchmittandMarc Kleine-Budde f5fb7317aa treewide: use if_nametoindex to avoid overflows
replaced strcpy(if_name, argv[x]) + ioctl by if_idx = if_nametoindex(argv[x])
to avoid overflows caused by long user input.

Signed-off-by: Sven Schmitt <sven.schmitt@gmx.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2015-06-30 21:00:04 +02:00
2010-04-19 12:12:18 +00:00
2015-03-06 10:02:35 +01:00
2014-07-02 16:03:34 +02:00
2012-11-14 20:57:16 +01:00
2014-01-31 11:52:15 +01:00
2012-11-14 20:57:16 +01:00
2012-11-14 20:57:16 +01:00
S
Description
Linux-CAN / SocketCAN user space applications
2.9 MiB
Languages
C 98.1%
CMake 0.7%
Makefile 0.6%
Shell 0.5%