mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
f5fb7317aa89263ee13919fa93e86c0f97aa52c7
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>
Description
Linux-CAN / SocketCAN user space applications
2.9 MiB
Languages
C
98.1%
CMake
0.7%
Makefile
0.6%
Shell
0.5%