Commit Graph
14 Commits
Author SHA1 Message Date
niklascfw 45c659f1ea Updated workflow
Build / Build (push) Successful in 34s
2026-02-13 21:24:35 +01:00
niklascfw f82ee15f52 Updated workflow
Build / Build (push) Failing after 34s
2026-02-13 21:23:32 +01:00
niklascfw 2987a3c88e Updated Readme
Build / Build (push) Failing after 2s
2026-02-13 21:22:20 +01:00
niklascfw e6676315c7 Updated workflow
Build / Build (push) Failing after 3s
2026-02-13 21:21:52 +01:00
niklascfwandCursor ef9c1eaf7a Fix data abort crash in Mac special files removal (listdir)
The listdir function had three memory corruption bugs causing a
data abort (Err:19) on the Switch:

1. Heap buffer overflow: CpyStr("sd:/") allocated only 5 bytes but
   listdir appends full subdirectory paths in-place via memcpy.
   Fixed by using a 1024-byte stack buffer instead.

2. Use-after-free: _DeleteFileSimple(path) freed the shared traversal
   buffer, but the loop continued using it. Fixed by inlining f_unlink
   without freeing.

3. Recursive free + missing else: free(path) at the end of listdir
   freed the buffer shared across all recursive frames, and a missing
   else caused recursion into directories that were just deleted.
   Removed the free and added an else guard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-13 21:16:58 +01:00
niklascfw 763cb43983 Added AMS section and fixed inconsistencies 2026-02-07 23:00:29 +01:00
niklascfw 59f7dde33a Updated gitignore 2026-02-06 21:04:13 +01:00
niklascfw bc086126e5 Updated Readme 2026-02-06 21:03:23 +01:00
niklascfw 5702202ea9 Updated Readme 2026-02-06 21:02:47 +01:00
niklascfw 36a08cf42f Updated Readme 2026-02-06 21:01:27 +01:00
niklascfw 1a7b0a1667 Added german translation and bugfixes 2026-02-06 21:00:36 +01:00
niklascfw 6ee7d5f892 Updated Workflow 2026-02-06 19:22:32 +01:00
niklascfw 6239b65472 Updated Workflow 2026-02-06 19:20:47 +01:00
niklascfw 29d63ffbf7 Updated Workflow 2026-02-06 19:19:03 +01:00