1
0
Fork 0
CANopenNode/309
Tristen Pierson cf85a4c677 fix: gateway tok[20] too small for lss_activate_bitrate command
The command string "lss_activate_bitrate" is exactly 20 characters.
CO_fifo_readToken() is called with count=sizeof(tok)=20. When exactly
20 characters are read, tokenSize==count which triggers the overflow
guard: *err=true and the token is discarded. The command therefore
always fails with a syntax error.

The buffer needs at least 21 bytes (20 chars + null terminator) to
successfully parse this command.

Fixes #623.
2026-05-31 16:40:29 -04:00
..
CO_gateway_ascii.c fix: gateway tok[20] too small for lss_activate_bitrate command 2026-05-31 16:40:29 -04:00
CO_gateway_ascii.h CO_gateway_ascii: function CO_GTWA_log_print() fixed. "log" inquiry now works. 2025-08-04 18:01:26 +02:00