]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-143756: Avoid borrowed reference in SSL code (gh-143816)
authorSam Gross <colesbury@gmail.com>
Thu, 22 Jan 2026 19:02:48 +0000 (14:02 -0500)
committerGitHub <noreply@github.com>
Thu, 22 Jan 2026 19:02:48 +0000 (14:02 -0500)
commitee4e14aa4c1150438b18d828770a967ca2019d43
tree113240b23830285c00a9e975c937b38a0be6b621
parentbcf9cb0217fdbab5dc6b812648e61bfa196e7110
gh-143756: Avoid borrowed reference in SSL code (gh-143816)

GET_SOCKET() returned a borrowed reference, which was potentially
unsafe. Also, refactor out some common code.
Modules/_ssl.c