nuttx-apps/testing/nettest/utils
Old-Ding 662133eeca testing: nettest: Fix TCP server terminator bounds
The TCP nettest server receives up to TEST_BUFFER_SIZE bytes and then appends a NUL terminator before checking for the exit command. A full-size receive can therefore write one byte past the receive buffer.

Reserve one extra byte for the terminator while keeping the recv() limit and echo length capped at TEST_BUFFER_SIZE.

Signed-off-by: Old-Ding <ai.neo.ae86@gmail.com>
2026-07-09 09:27:28 +08:00
..
nettest_tcpserver.c testing: nettest: Fix TCP server terminator bounds 2026-07-09 09:27:28 +08:00
utils.h testing/nettest: Add utils directory and two tcp testcases to the testing framework 2025-01-12 01:24:12 +08:00