feat(libwebrtc): implement SocketAddress copy operations #17705
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17705"
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 alvaroelpob on 2026-11-09T11:14:38Z.
What
Implement rtc::SocketAddress copy construction and copy assignment, including deep copies of inline and heap-backed guest hostnames.
Tested
Linux:
suite.py feat/libwebrtc-socket-address-copyat454be8c51f: CTest 6575/6575 passed; conventions passed.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-17T22:35:15Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
e2f7abfa1d2a1d9a41e6f1493838110cfad0a6f3, basemain.repo_read.py).Reader commands
Results
e5cb560ec3, not this headFindings
Blocking
None.
Non-blocking
core/libs/prx/libwebrtc/src/SocketAddressCopy.cpp:100and:108throw on null arguments, but the tests incore/libs/prx/libwebrtc/tests/SocketAddressCopy.cppnever call them with null. A test for the throw would cover that branch.Data()atcore/libs/prx/libwebrtc/src/SocketAddressCopy.cpp:55repeatsWebRtcGuestStringDatafromcore/libs/prx/libwebrtc/include/GuestString.hpp, with a non-const signature. Same pattern asLogMessage.cpp, so this is only a style note.Not verified
guest_webrtc_socket_address_copyon this head.e5cb560ec3, and the head ise2f7abfa1d.main": not checked against the repository.ip_vtable word and the hostname allocation are unmeasured, asdocs/dev/debt/libwebrtc.mdalready says.files/was not opened.Files read: the 7 files in
files.jsonunderreviewed, through their diff. Excluded by rule: none.To get this to a good state
Nothing is required. Optional:
suite.pyone2f7abfa1d2a1d9a41e6f1493838110cfad0a6f3and update the Tested line, which namese5cb560ec3.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T06:52:00Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this review; the points below are optional.
What I ran
Reviewed head
454be8c51f3280cd43a474cac8d8858a2536f5bfusing the prepared diff andrepo_read.py. I did not run commands or tests. The PR description reports Linux CTest 6575/6575 and conventions passed; that result was not independently verified.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
Read all seven changed files listed in the manifest:
CMakeLists.txt,Export.cpp,Api.hpp,SocketAddress.hpp,SocketAddressCopy.cpp,tests/SocketAddressCopy.cpp, and the two debt fragments (eight paths total). The prepared diff and targeted context were inspected; the other unchanged repository files were not read. No local tests or physical-console checks were run.To get this to a good state
Nothing is required.