Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/emubd
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2018-08-22 02:15:40 +0300
committerChristopher Haster <chaster@utexas.edu>2018-09-04 21:57:22 +0300
commit3419284689ead61c6905d61359a2b62a8c09c75d (patch)
tree767f245462a6a59f61febb70c56853c9192b690e /emubd
parent510cd13df99843174899aa3ddabcbc889c7872e8 (diff)
Fixed issue with corruption due to different cache sizes
The lfs_cache_zero function that was recently added assumed a single cache size, which is incorrect. This would cause a buffer overflow if read_size != prog_size. Since lfs_cache_zero is only used for scrubbing prog caches, the fix here is to use lfs_cache_drop instead on read caches. Info in read caches should never make its way to disk. Found by nstcl
Diffstat (limited to 'emubd')
0 files changed, 0 insertions, 0 deletions