mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 22:40:03 +02:00
c7aa0b7051b867a409e41fbe4c1f3d1ca5e884a6
ASCII command buffer char buf[200] must be declared as static, because it holds incomplete commands between pty2can() calls. Without static it is not guaranteed, that buf retains the same data between calls. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Acked-by: Oliver Hartkopp <socketcan@hartkopp.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%