niklascfw 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
2025-11-21 22:20:38 +08:00
2026-02-06 21:04:13 +01:00
2019-08-14 21:29:04 +02:00
2026-02-06 21:00:36 +01:00

AllgemeinerProblemLoeser (APL)

Rette deine Switch ohne PC!

Original-Projekt: Common Problem Resolver von Team Neptune.

Nutzung

  1. Besorge dir einen Payload-Injector deiner Wahl
  2. Lade APL als Payload

Navigation in den Menues mit den Joy-Cons:

  • A: Auswaehlen
  • B: Zurueck
  • Linker Stick hoch/runter (D-Pad oder Stick): Menue hoch/runter
  • Rechter Stick hoch/runter: Schnelle Menue-Navigation
  • Capture (nur Minerva): Screenshot
  • L3/R3 (Sticks eindruecken): Mittelpunkt neu kalibrieren

Ohne verbundene Joy-Cons:

  • Power -> A
  • Vol+ -> Linker Stick hoch
  • Vol- -> Linker Stick runter

Funktionen

  • Deaktiviert automatischen Sysmodule-Start (kann Startprobleme nach Updates beheben)
  • Loescht installierte Themes (kann Startprobleme nach Updates beheben)
  • Behebt Archiv-Bit (SD-Karte)
  • Entfernt Mac-Sonderordner

Support

Fuer Hilfe: unser Discord

Danksagungen

Description
No description provided
Readme GPL-2.0 2.9 MiB
Languages
C 96.6%
C++ 3%
Assembly 0.2%
Makefile 0.2%