Old-Ding opened a new pull request, #3599: URL: https://github.com/apache/nuttx-apps/pull/3599
## Summary 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`. ## Validation - `git diff --check origin/master..HEAD` - `git show --check --stat --oneline HEAD` - `git ls-files --eol testing/nettest/utils/nettest_tcpserver.c` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
