nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

fs/vfs/fs_rename: fix directory move operation.

Open cederom opened this issue 7 months ago • 0 comments

Summary

  • Recurrency is removed from filesystem directory rename.
  • Fixes use after free in buffer that was used as output and argument.
  • Patch provided by @richyliu.

Impact

fs/vfs bug fix of possible use after free.

Testing

@cederom: esp32c6-xiao:usbnsh. @richyliu: STM32 Nucleo H743ZI + FTP.

Reviewers please double check locally if the issue is reproducible and there are no side effects after patch :-)

cederom avatar May 27 '25 20:05 cederom