zephyr/drivers/lora
Jordan Yates 9c6e6d781d drivers: lora: rylrxxx: fix snprintf usage
The second argument should unconditionally be the size of the output
memory area, not computationally derived from the input payload length.
The previous length validations would be incorrect when
`cmd_len == CONFIG_LORA_RYLRXX_CMD_BUF_SIZE`, as `snprintf` would be
told the output buffer was `CONFIG_LORA_RYLRXX_CMD_BUF_SIZE + 1` bytes
long.

Fixes #92619
Fixes #92624

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-07-04 16:40:46 -10:00
..
CMakeLists.txt
hal_common.c
Kconfig
Kconfig.rylrxxx
Kconfig.sx12xx
rylrxxx.c drivers: lora: rylrxxx: fix snprintf usage 2025-07-04 16:40:46 -10:00
shell.c
sx12xx_common.c
sx12xx_common.h
sx126x_common.h
sx126x_standalone.c
sx126x_stm32wl.c
sx126x.c
sx127x.c