Repository navigation
Conversation
PrivacyOnion
left a comment
There was a problem hiding this comment.
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against bf7f8a3aca:
- Conventions:
tools/check_conventions.pypassed. - Build:
guest_np_sns_facebook_dialog_testsbuilt cleanly. - CTest (
guest_np_sns_facebook_dialog):1/1 Test #4608: guest_np_sns_facebook_dialog ..... Passed 0.36 sec 100% tests passed, 0 tests failed out of 1 - Negative control: with
core/libs/prx/libSceNpSnsFacebookDialog/Export.cppreverted tomainand the new tests kept, the suite fails:Restoring the change makes it pass again.1/1 Test #4608: guest_np_sns_facebook_dialog .....Subprocess aborted***Exception: 0.12 sec 0% tests passed, 1 tests failed out of 1 - Code reading:
- Verified GuestCopyIn_nid_no_patch safely probes param readability before state transition and returns COMMON_DIALOG_ERROR_ARG_NULL (0x80B8000D) on unreadable pointer in core/libs/prx/libSceNpSnsFacebookDialog/Export.cpp
- Verified errno preservation across GuestCopyIn_nid_no_patch probing via savedErrno restoration on both failure and success paths
- Verified loop and atomic state progression in sceNpSnsFacebookDialogOpen ensuring no state corruption or race condition occurs prior to successful probe
- Verified test coverage in core/libs/tests/GuestNpSnsFacebookDialog.cpp verifying rejection of unreadable guest pointer (0x10) and errno preservation
- Verified compliance with AGENTS.md conventions (no disallowed comments, no forbidden files, no hardcoded title workarounds)
Looks Good To Me
|
Windows result for head Host: Windows 11 26300, Intel i7-12700K, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release,
AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine. |
|
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) |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks this change; the implementation probes the guest pointer and restores errno on both probe outcomes before changing dialog state.
What I ran
Reviewed head bf7f8a3acad9e4c7b80d9e43816e31937cc954de using repo_read.py-provided review bundle and pinned source reads. No commands or tests were run.
Results
| Check | Result | Note |
|---|---|---|
| Patch and source review | passed | Both changed files read |
| Unit tests | not run | No test execution available |
| Convention check | not run | Author-reported only |
Findings
Blocking
None.
Non-blocking
None.
Not verified
Test execution and the author-reported convention check were not verified. Read: core/libs/prx/libSceNpSnsFacebookDialog/Export.cpp, core/libs/tests/GuestNpSnsFacebookDialog.cpp, and core/libs/prx/libc/include/General.hpp. Both files listed in the manifest as reviewed were read; no excluded changed files were listed.
To get this to a good state
Nothing is required.
|
Windows run of head bf7f8a3. In this comment, "the source" means Host: Ryzen 9 9950X3D, Windows 11 Pro 26300, WinLibs GCC 15.2, Ninja, Release. Test: Existing runs
This run adds a Windows negative control and mutations of the probe. Results
Findings
I did not run Linux or macOS. AI-assisted: yes |
bf7f8a3 to
fae9d7d
Compare
|
@Helldiverr Rebased onto |
|
Re-checked at What changed. The head is rebased onto Checked on the merge (head merged onto
Times are in seconds. What still stands.
"src" is The head is 44 commits behind CPU: Ryzen 9 9950X3D AI-assisted: yes |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The changed code safely rejects an unreadable non-null param, preserves errno, and includes focused regression checks; the remaining hardware behavior is documented as unmeasured.
What I ran
Reviewed head fae9d7db92fc825a433860258d1dc066e4be4767. Read the prepared description, commits, manifest, diff, and all three changed files through repo_read.py; no commands or tests were run.
Results
| Check | Result | Note |
|---|---|---|
| Change and source review | passed | All changed files reviewed |
| Build and tests | not run | Author reports the dialog test passed |
| Conventions check | not run | Author reports it passed |
| Console behavior | not run | Documented as unmeasured |
Findings
Blocking
None.
Non-blocking
None.
Not verified
No independent build, test, or conventions check was run. Console behavior was not measured. files.json was unavailable in the prepared review folder, so excluded files could not be independently confirmed; the manifest lists all three changed files as included, and each was read.
To get this to a good state
Nothing is required.
|
@Kikoarl, I am closing this one. On main this Open function never reads |
What
This pull request updates
sceNpSnsFacebookDialogOpento validate unreadable non-nullparampointers safely:paramviaGuestCopyIn_nid_no_patchwhile preserving callererrnoand returningCOMMON_DIALOG_ERROR_ARG_NULL(0x80B8000D) on failure.paramanderrnopreservation checks incore/libs/tests/GuestNpSnsFacebookDialog.cpp.0x80B8000Dfallback indocs/dev/debt/changes/fix-libSceNpSnsFacebookDialog-open-param-unreadable.md(folded into thelibSceNpSnsFacebookDialogdebt entry).Tested
guest_np_sns_facebook_dialog_tests(ctest --test-dir /tmp/anyps5_build_pad --output-on-failure -R "^guest_np_sns_facebook_dialog$"):1/1passed.python3 tools/check_conventions.py --base origin/main.Checklist
Fixes: none
Unblocks: none
GPUs tested: none