Skip to content

[3.13] gh-156099: Fix a crash when deleting SSLContext.keylog_filename (GH-156103) - #156150

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-156099-3.13
Aug 21, 2026
Merged

[3.13] gh-156099: Fix a crash when deleting SSLContext.keylog_filename (GH-156103)#156150
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-156099-3.13

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Aug 21, 2026

Copy link
Copy Markdown
Member

Manual backport of #156103 to 3.13: the setter has a different signature there, so the cherry-pick did not apply cleanly.

…pythonGH-156103)

The setter did not check the value for NULL and passed it to Py_fopen().

(cherry picked from commit 5ebd486)
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) August 21, 2026 07:00
@serhiy-storchaka
serhiy-storchaka merged commit 6b3d4ea into python:3.13 Aug 21, 2026
77 of 79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant