JianyuWang0623 commented on code in PR #2841:
URL: https://github.com/apache/nuttx-apps/pull/2841#discussion_r1841546118


##########
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:
   Done, thank you



-- 
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]

Reply via email to