Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). The NuttX libc output-stream back ends for MTD and block drivers mishandle erasing and sector-cache contents. Rewriting previously programmed flash through the MTD output stream corrupts data, and the block…
The task
The NuttX libc output-stream back ends for MTD and block drivers mishandle erasing and sector-cache contents. Rewriting previously programmed flash through the MTD output stream corrupts data, and the block output stream can flush random memory to the device.
Part of henryen/OriGent-RL-Data.