Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/22388"
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 oneandonlydean on 2026-11-17T13:50:28Z.
What
Exact inverse reverts of #22286 (merge
74e3a52519) and #22283 (mergefc77f60c09), one commit each. Since the LibreSsl3 guest pointer PRs landed within a few minutes of each other,guest_libressl3_asn1andguest_libressl3_ec_parametersfail on Windows main, on plain main as well.With #22286 (
IntegerDecoder.cpp) reverted,guest_libressl3_asn1passes on Windows andguest_libressl3_ec_parametersstill fails (0xc0000409, requirement failed at line 195). #22283 is the only change toEcAsn1.cppsince that test last passed, so it is reverted here too. The guest pointer copies can come back once both tests pass on Windows with them.Tested
The full Windows suite on this PR must show
guest_libressl3_asn1andguest_libressl3_ec_parameterspassing.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)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T16:39:29Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
This is a revert of two earlier guest-pointer changes, reviewed at head
ce30efdee25a. The diff is limited toEcAsn1.cppandIntegerDecoder.cpp.What I ran
ce30efdee25aaf5f154d66dca0f84bf619a6be23, basemain.repo_read.py): searched for guest-copy helper use incore/libs/prxand for leftover includes and guest names in the two changed files.std::vector,std::string,errno,GuestPtr,GuestBytesandGuestCopy.Results
Findings
Blocking
None.
Non-blocking
IntegerDecoder.cpp:163-166andIntegerDecoder.cpp:217-218write and read guest pointers directly (*tagClass,*tag,*length,*input,*output). The same applies toEcAsn1.cpp:375-376,EcAsn1.cpp:396andEcAsn1.cpp:401-402, and to theo2i_ECPublicKey_nid_postfixblock (changed lines 421-431). The error branches for unreadable and unwritable guest pointers are gone. Most other guest accesses incore/libs/prxgo throughGuestCopyIn_nid_no_patch, so this is a departure from that convention. Whether a bad guest pointer now faults rather than throwing depends on the guest memory model, which I did not confirm. The description says the copies are meant to come back once both tests pass, so this reads as a deliberate, temporary step.Not verified
guest_libressl3_asn1,guest_libressl3_ec_parameters) were not run here. The result is only what the author reports.diff.patchfor both files, plus grep over the head copies infiles/. I did not read either full file.o2i_ECPublicKey_nid_postfixstill reads(*in)[0]before checkinglength. The old code had the same pattern, so this is not a regression.To get this to a good state
Nothing is required by this review. The PR's own condition, that both Windows tests pass on this head, is not checked here.