zephyr/ext/fs/nffs
Andrzej Puzdrowski 48e6ec7b49 ext: nffs: bugfix of possible to corrupt filename
Origin: Apache Mynewt NFFS
URL: https://github.com/apache/mynewt-nffs/tree/master
Commit: a2f679afe6323310ab1000385f41115df7da326e
Maintained-by: External

This patch introduce version which fixes following bug:

While inode is updated it is possible that Garbage Collection
is called which caused overwrite of inode's filename as the same
buffer was used to keep the filename and copping data in GC.

This patch uses buffer on the stack for keeping filename while inode
is updated which fix the issue.

The patch cause 128 B increase of stack consumption during inode
update the file name might be corrupted

Fixes #9749

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2018-09-14 13:13:59 +02:00
..
include/nffs ext: nffs: update for enabling statistic 2018-03-21 17:04:07 +01:00
src ext: nffs: bugfix of possible to corrupt filename 2018-09-14 13:13:59 +02:00
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
Kconfig
README.md

README.md

Overview

The Newtron Flash File System (NFFS) is a flash file system with the following priorities:

  • Minimal RAM usage
  • Reliability

RTOS support

NFFS currently supports the following operating systems:

Repository

The source code for NFFS lives in the following repository on GitHub:

All changes to the NFFS codebase should be submitted as Pull Request to the repository above.

Issues

Issues must be reported to the Mynewt Jira: https://issues.apache.org/jira/projects/MYNEWT Use the 'NFFS' component when reporting bug against the Apache Mynewt project.