Commit Graph
12 Commits
Author SHA1 Message Date
Dean efa6a1559f Merge pull request #15102 from amazedturnip/test/libScePlayerSelectionDialog-validation-coverage
test(libScePlayerSelectionDialog): cover player array validation, user bounds and error precedence
2026-11-03 21:11:04 +13:00
szambonurek-88 d2931f583a fix(libScePlayerSelectionDialog): return ARG_NULL from result and param init for unwritable pointers
Return COMMON_DIALOG_ERROR_ARG_NULL (0x80B8000D) from scePlayerSelectionDialogGetResult and scePlayerSelectionDialogParamInitialize when output memory cannot be written, rather than crashing with SIGSEGV in host space.

- Write parameter and result data safely via GuestCopyOut_nid_no_patch.

- Preserve caller errno across copy checks.

- Add regression coverage in GuestPlayerSelectionDialog.cpp for unwritable destinations.

- Document host-safety fallbacks in docs/dev/debt/libScePlayerSelectionDialog.md.
2026-11-01 14:57:09 +01:00
amazedturnip bd0072f58c test(libScePlayerSelectionDialog): cover player array validation, user bounds and error precedence 2026-10-31 16:07:38 -05:00
Disaster 75c9d53b28 feat(libScePlayerSelectionDialog): initialize dialog parameters 2026-10-27 16:28:07 +03:00
Hedi Trigui 86d1ba99a1 test(libScePlayerSelectionDialog): cover uninitialized and terminated argument validation 2026-10-27 08:33:45 +01:00
PrivacyOnion 62ff652dff test(libScePlayerSelectionDialog): cover null argument validation before initialization in GuestPlayerSelectionDialog 2026-10-26 12:14:22 +01:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
boykopovar 35cf8d56cd refactor(sdk): add canonical headers for core libraries 2026-10-24 23:17:37 +03:00
boykopovar 73120899a9 fix(playerselection): restore dialog validation and result contract 2026-10-21 21:53:58 +03:00
al3w0f205 9f6924cc1d feat(libScePlayerSelectionDialog): add scePlayerSelectionDialogParamInitialize stub and tests 2026-10-20 13:30:24 +02:00
Nithishvelan M dec0e2013c feat(libScePlayerSelectionDialog): export scePlayerSelectionDialogGetStatus and scePlayerSelectionDialogClose
Implement scePlayerSelectionDialogGetStatus and scePlayerSelectionDialogClose in libScePlayerSelectionDialog, matching the common dialog lifecycle convention across player dialogs, and add unit test coverage in GuestPlayerSelectionDialog.
2026-10-18 10:01:34 +05:30
notaxeltvandCursor 784cb4d3db feat(libScePlayerSelectionDialog): run common-dialog state machine without UI
Co-authored-by: Cursor <[email protected]>
2026-10-14 23:00:30 +02:00