JianyuWang0623 opened a new pull request, #2699:
URL: https://github.com/apache/nuttx-apps/pull/2699

   ## Summary
   The NSH hangs after exec the test command.
   `nsh_redirect()` needs to save three fd(stderr, stdout and stdin) but array 
length is only two, stack buffer overflowed!
   
   - Config
   ```
     sim:nsh
   ```
   
   - Command
   ```
     cat < /etc/init.d/rc.sysinit
   ```
   
   Related: https://github.com/apache/nuttx-apps/pull/2469
   
   ## Impact
   nsh/redirect
   
   ## Testing
   - Selftest as summary shown
   - Apache:NuttX CI
   


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