Repository navigation
feat(libSceLibreSsl): accept null in SSL_SESSION_free - #16140
Closed
MarrasFederico wants to merge 6 commits into
Closed
MarrasFederico wants to merge 6 commits into
MarrasFederico wants to merge 6 commits into
Conversation
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
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.
|
12 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Treat null session disposal as a no-op without changing the error queue. Non-null session reference counting and disposal remain unsupported and throw before dereference.
Source and remaining gap: SSL_SESSION_free - non-null session release is unimplemented and not measured on a PS5. LibreSSL 2.5.4 returns immediately for null and otherwise decrements the reference count and may free the session (
ssl_sess.c).python3 tools/pr_overlap.py --branch feat/libressl-session-free-null --repo boykopovar/AnyPS5 --base main --jobs 2examined 1871 open PRs. Confirmed textual overlaps: #10915 #11553 #15827; the report contains no shared export. The command exited 2 because 38 older heads conflict with its base. I compared each reported head against its own merge base, including the original stub location: none changes or addsSSL_SESSION_free. Pairwise merge checks also report shared-file conflicts; these do not establish a functional dependency. Shared debt insertions may need textual reconciliation when merging the other pending-export PRs. Upstream now omits the unstable numeric total.Tested
Ubuntu 26.04.1 LTS x86-64, GCC 15.2.0, Release,
BUILD_TESTING=ON; tested main commitce694129c4ffaaafe7fe3621ac7e038aca7b79f7.guest_libre_ssl_error_model_testswithnice -n 19 cmake --build build --parallel 2 --target guest_libre_ssl_error_model_tests. Only one target was built at a time.ctest --test-dir build -R '^guest_libre_ssl_error_model$' --output-on-failurepasses with the new cases in the existing guest test.SSL_SESSION_free_nid_postfixwith the original throwing body. After rebuilding the same target, the test failed withSSL_SESSION_free_nid_postfix not implemented. Restoring the implementation, rebuilding and rerunning passes.python3 tools/check_conventions.py --base upstream/mainandgit diff --checkpass. No title, console or Windows run.After merging upstream main
04cdd527604d521845afc58f9374afb92ff85f76, rebuilt the same target with the same limits and reran the focused test: it passes. The feature code and test changes are identical to those used for the negative control above; only upstream updates and the debt inventory reconciliation were merged.After merging upstream main
151a2cb6e274f594a09c8a2ca42f44af2e5c40d8, rebuilt the same target with the same limits and reran the focused test: it passes. The feature code and test changes are identical to those used for the negative control above; only upstream updates and the debt inventory reconciliation were merged.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)Merge verification: updated against main
5c184f22eb19e8c5a5f733cb5e3aba5dbe534fdbwith a normal merge. Main and this PR are preserved independently; the implemented function bodies are unchanged. Builtguest_libre_ssl_error_model_testswithnice -n 19 cmake --build build --parallel 2 --target guest_libre_ssl_error_model_tests;ctest --test-dir build -R '^guest_libre_ssl_error_model$' --output-on-failurepasses. Conventions and the public-header audit pass. No console or Windows run.