Repository navigation
fix(libSceAudioOut): safely probe the output in sceAudioOutSysGetHdmiMonitorInfo - #24624
Sheikh-Bilal65 wants to merge 1 commit into
Conversation
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing in the inspected changes blocks merge; the guest copy preserves errno and reports an invalid pointer when the output is unwritable.
What I ran
Reviewed head 2044d0198ccf3692fc3b1277dcad12a2392a912b against the prepared diff. No commands or tests were run; the checks in the PR description are author-reported.
Results
| Check | Result | Note |
|---|---|---|
| Code review | passed | Changed implementation, test, and debt note read |
| Tests and conventions | not run | PR description reports checks; not rerun here |
Findings
Blocking
None.
Non-blocking
None.
Not verified
Did not run the reported convention check, guest pointer audit, or test assertion. No console behavior was measured. Read all three changed files listed in the manifest; no changed files were excluded.
To get this to a good state
Nothing is required.
|
Tested head Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release,
Whole batch: the full This is one combined tree, not a run of this PR alone. AI-assisted: yes (Claude Code) |
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Thanks for the work. I'm closing this as a duplicate: #20630 is older and makes the same change to |
What
Safely copy the empty HDMI monitor info record to the guest buffer in
sceAudioOutSysGetHdmiMonitorInfoviaGuestCopyOut_nid_no_patchwhile preserving callererrno, returning0x80260004(SCE_AUDIO_OUT_ERROR_INVALID_POINTER) on unwritable memory instead of faulting the host.Tested
tools/check_conventions.py --base origin/mainpassed. Added test assertion incore/libs/prx/libSceAudioOut/tests/AudioOutSysHdmiMonitorInfo.cppexercising an unwritable guest pointer and verifyingerrnopreservation. Testedtools/guest_pointer_audit.py libSceAudioOutconfirming 0 direct access findings forsceAudioOutSysGetHdmiMonitorInfo.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)