feat(libSceShellUIUtil): validate launch parameters and uri buffer capacity #15026
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15026"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Elma7e on 2026-11-02T10:51:35Z.
What
Implement parameter structure validation for sceShellUIUtilLaunchByUri, sceShellUIUtilGetAppUrl, and sceShellUIUtilLaunchTask in libSceShellUIUtil. Wire CMakeLists.txt target with Windows unwind configuration, add unit test GuestShellUIUtil, and update technical debt documentation.
Tested
Checklist
Imported from boykopovar/AnyPS5. Originally posted by mashingaan on 2026-11-02T11:34:55Z.
Review: CHANGES_REQUESTED
At head
9fe4fac23b, sceShellUIUtilLaunchByUri checks only whether parameter is null, then reads parameter->size directly. A non-null but unreadable guest pointer can fault the emulator host before the guest receives an error. Please copy the fixed-size header with GuestCopyIn_nid_no_patch and return the appropriate guest fault result when the copy fails, with a focused inaccessible-pointer case. The current tests only cover null and undersized valid host objects, so they do not exercise this boundary.Pull request closed