[3.15] gh-113318: Fix @getter and @setter in Argument Clinic (GH-155778) - #156010
Open
serhiy-storchaka wants to merge 1 commit into
Open
[3.15] gh-113318: Fix @getter and @setter in Argument Clinic (GH-155778)#156010serhiy-storchaka wants to merge 1 commit into
serhiy-storchaka wants to merge 1 commit into
Conversation
…ythonGH-155778) (cherry picked from commit 915970c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka
requested review from
1st1,
AA-Turner,
asvetlov,
erlend-aasland,
iritkatriel,
kumaraditya303,
markshannon and
willingc
as code owners
August 18, 2026 12:43
Contributor
|
While this is unmerged, import ssl
c = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
c.check_hostname = False
c.verify_mode = ssl.CERT_NONE
s = c.wrap_bio(ssl.MemoryBIO(), ssl.MemoryBIO())._sslobj
del s.context # same for del s.owner and del s.session
|
Member
|
@serhiy-storchaka Please could you get a core peer review on this? |
Member
Author
Member
|
LGTM, but it should go in 3.16.1. (IMO it should not be treated as a security issue: we generally treat crashes as exploitable, but deleting arbitrary attributes is arbitrary code execution.) |
Member
Author
|
The bug was not new in 3.15. It existed in 3.13 and 3=.14 (although 3.15 might add more cases). It does not affect working (and tested) programs, it cannot be triggered by user data. |
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.
(cherry picked from commit 915970c)
Co-authored-by: Serhiy Storchaka storchaka@gmail.com
@getterand@setter#113318