summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Android
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-05-30 15:12:17 +0200
committerJosJuice <josjuice@gmail.com>2026-06-10 21:21:30 +0200
commitd35fe1b78b5acd2bcb74641803dd588ca51cb005 (patch)
tree9f415a2771711357ad171b13a366822f514807fd /Source/Core/InputCommon/ControllerInterface/Android
parent9e7d340f22dd1c82b1efa6d0dbbf88632d5ac63c (diff)
IOS/FS: Rewrite NAND savestating
This makes us savestate the NAND using the same APIs the guest uses instead of directly touching the host files. This solves several problems: * If the user loaded a malicious savestate, it could use path traversal to overwrite arbitrary files on the host file system. (Reported by MrSynAckster.) * Metadata (UID, GID, attribute, modes) wasn't being savestated. * NAND redirects weren't handled, except for NAND redirects at the root of where the savestate was being done. (This only possibly matters if TASing a Riivolution patch. The root of the savestate is at /tmp when not TASing, and the only case where we do a NAND redirect is inside /title if requested by a Riivolution patch.)
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Android')
0 files changed, 0 insertions, 0 deletions