]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-126455: Disallow _ssl.SSLSocket instantiation (GH-126481) (#126487)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 6 Nov 2024 11:21:21 +0000 (12:21 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Nov 2024 11:21:21 +0000 (11:21 +0000)
commite6fd40ba1883040224128cbb30fa002827f18392
tree86a540ff355cf398d022f102b9b43ef4cf202841
parent7a4262b064a2339c8d37e0267be91a0084f79c3c
[3.12] gh-126455: Disallow _ssl.SSLSocket instantiation (GH-126481) (#126487)

gh-126455: Disallow _ssl.SSLSocket instantiation (GH-126481)

Prevent creation of incomplete/invalid _ssl.SSLSocket objects when
created directly.
(cherry picked from commit b1c4ffc20573befb4db66bbbdd569b9bd13bb127)

Co-authored-by: Victor Stinner <vstinner@python.org>
Modules/_ssl.c