liuguo09 opened a new pull request #1737: URL: https://github.com/apache/incubator-nuttx/pull/1737
## Summary Close the fd2 return by dup() would segment fault since filep->f_priv null access, while file_dup2 handle this rightly. ## Impact ## Testing Test and verify under sim ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org