cederom commented on code in PR #2954:
URL: https://github.com/apache/nuttx-apps/pull/2954#discussion_r2557152712


##########
nshlib/nsh_fscmds.c:
##########
@@ -2234,8 +2233,7 @@ int cmd_rm(FAR struct nsh_vtbl_s *vtbl, int argc, FAR 
char **argv)
     {
       if (recursive)
         {
-          strlcpy(buf, fullpath, PATH_MAX);

Review Comment:
   Ah I noticed that recently with simpler `rm -rf /` :-P Should we revert?



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