mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-22 08:06:34 +02:00
lib: make sprint_canframe the buffer size aware snprintf_canframe
Make sure the library functions to convert CAN frames into ASCII represenation do not exceed the given buffer size. This also applies to the long CAN frame output library function. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
This commit is contained in:
Reference in New Issue
Block a user