xiaoxiang781216 commented on code in PR #2841:
URL: https://github.com/apache/nuttx-apps/pull/2841#discussion_r1840696934
##########
nshlib/nsh_parse.c:
##########
@@ -2693,20 +2694,27 @@ static int nsh_parse_command(FAR struct nsh_vtbl_s
*vtbl, FAR char *cmdline)
goto dynlist_free;
}
- for (ret = 0; ret < argc - 1; ret++)
+ memset(cmd_str, 0, sizeof(cmd_str));
Review Comment:
apply the similar comment from https://github.com/apache/nuttx-apps/pull/2850
--
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]