Old-Ding opened a new pull request, #3600: URL: https://github.com/apache/nuttx-apps/pull/3600
## Summary `recv()` returns zero when the peer closes a TCP connection cleanly. The SMTP response path only treated negative returns as errors, so an EOF could leave stale or empty response data to be checked as if a server reply had arrived. Return `ERROR` on zero-length receives at each SMTP response point. ## Validation - `git diff --check origin/master..HEAD` - `git show --check --stat --oneline HEAD` - `git ls-files --eol netutils/smtp/smtp.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]
