nuttx-apps/testing/nettest
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
..
others testing/nettest: Add test for net bufpool 2025-01-14 14:39:44 +08:00
tcp testing/nettest: Add utils directory and two tcp testcases to the testing framework 2025-01-12 01:24:12 +08:00
utils testing: nettest: Fix TCP server terminator bounds 2026-07-09 09:27:28 +08:00
CMakeLists.txt testing/nettest: Add test for net bufpool 2025-01-14 14:39:44 +08:00
Kconfig testing/nettest: Add test for net bufpool 2025-01-14 14:39:44 +08:00
Make.defs apps/testing: Add a cmocka framework for network testing 2025-01-09 22:40:36 +08:00
Makefile testing/nettest: Add test for net bufpool 2025-01-14 14:39:44 +08:00