Old-Ding opened a new pull request, #3610: URL: https://github.com/apache/nuttx-apps/pull/3610
## Summary - check the service argv bound before reading the current debug-dump entry - keep the existing NULL-terminated dump behavior once the index is in range ## Root cause `init_dump_service()` evaluated `s->argv[i]` before checking `i < nitems(s->argv)`. Service argument arrays are zero-initialized, but a full parsed argument list can fill the array without an in-array NULL terminator. With `CONFIG_SYSTEM_NXINIT_DEBUG` enabled, the dump loop could then read one entry past the array. ## Testing - `git diff --check` - `git show --stat --check --format=fuller HEAD` Build not run locally because this Windows machine does not have `make`, `cmake`, `gcc`, `clang`, or `cc` installed. -- 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]
