Files
AnyPS5/docs/dev/debt/libScePlayerSelectionDialog.md
T
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

979 B

libScePlayerSelectionDialog technical debt

Silent stubs

  • libScePlayerSelectionDialog, scePlayerSelectionDialogGetResult shows no selection UI and immediately reports cancellation. Account discovery, selection and successful-result list delivery are not implemented; returning 0x80B8000D for an unwritable result pointer is a host-safety fallback with console behavior unmeasured.

Unknown function info

  • scePlayerSelectionDialogParamInitialize (libScePlayerSelectionDialog) - zeroes the parameter, sets the common dialog base size and address-derived magic, and sets the public size; returning 0x80B8000D for an unwritable parameter pointer is a host-safety fallback with console behavior unmeasured. The console defaults for caller-owned fields and the exact behavior when reinitializing a populated parameter remain unverified.