libfat/source
Alex "Chadderz" Chadwick a711f2bef2 Fix concurrency bugs in FAT_getAttr/FAT_setAttr. (#13)
A relatively rare concurrency bug existed in these methods due to them not
correctly holding the partition lock during calls to
_FAT_directory_entryFromPath. That method can trigger reads to the partition.
Due to the lock not being held, another thread could still trigger a concurrent
read, potentially corrupting the cache. The fix is simply to ensure the lock is
held around the calls.
2018-04-20 11:23:50 +00:00
..
bit_ops.h Moved disc interfaces to appropriate libraries (DLDI to libnds, SD/USB to libogc). 2008-11-20 05:22:28 +00:00
cache.c support > 512 bytes per sector in libfat (dimok) 2011-06-18 07:40:53 +00:00
cache.h support > 512 bytes per sector in libfat (dimok) 2011-06-18 07:40:53 +00:00
common.h support > 512 bytes per sector in libfat (dimok) 2011-06-18 07:40:53 +00:00
directory.c Merge pull request #9 from Nebuleon/patch 2016-12-22 04:40:39 +00:00
directory.h match newlib 2016-12-20 20:07:08 +00:00
disc.c move get_io_dsisd to libnds 2017-09-25 18:24:04 +01:00
disc.h Read/write contigious clusters in one operation to improve speed. 2008-11-22 13:37:16 +00:00
fatdir.c update FAT32 FSINFO for statvfs if invalid 2017-07-31 14:45:57 +01:00
fatdir.h Moved disc interfaces to appropriate libraries (DLDI to libnds, SD/USB to libogc). 2008-11-20 05:22:28 +00:00
fatfile.c Fix concurrency bugs in FAT_getAttr/FAT_setAttr. (#13) 2018-04-20 11:23:50 +00:00
fatfile.h devkitARM r46 updates 2017-01-17 09:32:57 +00:00
file_allocation_table.c cleanup patch - http://sourceforge.net/tracker/?func=detail&aid=3331605&group_id=114505&atid=668553 2011-06-28 20:35:00 +00:00
file_allocation_table.h fix mixed eols 2012-05-20 15:40:21 +01:00
filetime.c correct year in _FAT_filetime_to_time_t 2009-05-01 07:57:13 +00:00
filetime.h Moved disc interfaces to appropriate libraries (DLDI to libnds, SD/USB to libogc). 2008-11-20 05:22:28 +00:00
libfat.c Avoid using DSi SD interface in NDS mode 2017-01-17 09:32:58 +00:00
lock.c add overridable locking functions 2010-05-16 11:17:43 +00:00
lock.h add overridable locking functions 2010-05-16 11:17:43 +00:00
mem_allocate.h add read ahead cache by Rodries 2009-05-17 22:16:35 +00:00
partition.c consolidate MBR check 2017-09-25 15:04:46 +01:00
partition.h support > 512 bytes per sector in libfat (dimok) 2011-06-18 07:40:53 +00:00