Commit Graph
9 Commits
Author SHA1 Message Date
Adrià FranchandClaude Sonnet 5.5 abe2603739 test(savedata): expect PARAMETER for null arguments in remaining tests
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-25 20:08:10 +01:00
slopggobblercobbler81 9c232b38fe fix(savedata): validate null arguments in delete, search, and mount3 2026-10-25 20:07:59 +01:00
Dean 74dfabae2c Merge pull request #10294 from al3w0f205/test/savedata-delete-null-struct-validation
test(libSceSaveData.native): cover null delete struct and directory name validation
2026-10-26 05:36:42 +13:00
Dean Galvin c315203fad test(savedata): assert the runtime_error thrown for null delete inputs 2026-10-25 21:06:20 +13:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
al3w0f205 304821c40f test(libSceSaveData.native): cover null delete struct and directory name validation 2026-10-23 11:34:02 -05:00
Ondra97 37e62ddb3b fix(savedata): skip identity comparisons for missing paths 2026-10-16 14:16:07 +02:00
Ethan Barr e41050f71c fix(savedata): reject deleting mounted native saves 2026-10-07 15:13:43 -07:00
Alberto RuizandClaude Opus 5.5 95c1b40e71 fix(savedata): reject invalid directory names in sceSaveDataDelete
sceSaveDataDelete appended the title's directory name to the save root
without any check and passed the result to std::filesystem::remove_all.
"../victim" removed a directory beside the save root, ".." the directory
holding the save root, and an empty name or "." every save. The name
now has to be terminated within its field, non-empty, not "." or "..",
and free of "/", "\" and ":", as sceSaveDataMount3 already requires;
otherwise the call returns SAVE_DATA_ERROR_PARAMETER and deletes nothing.

The native library gains its own CMakeLists.txt, with the same library
definition as the generic one, to register guest_savedata_delete.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01R5WJS4ZdQynAJesCZKH5hb
2026-10-02 20:41:43 +02:00