nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

{bp-16518} fs/smartfs: Fix a fatal bug about sector writing after seek

Open jerpelea opened this issue 6 months ago • 0 comments

Summary

When writing to the next sector after the forward position has been written by seek, the old sector buffer is used, which may corrupt the file system. Therefore, the sector buffer must always be updated after a writing by seek.

Impact

RELEASE

Testing

CI

jerpelea avatar Jun 23 '25 09:06 jerpelea