-
-
Notifications
You must be signed in to change notification settings - Fork 36.4k
del ssl.SSLContext().keylog_filename crashes #156099
Copy link
Copy link
Closed
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixes3.16new features, bugs and security fixesnew features, bugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-SSLtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Description
Activity
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixes3.16new features, bugs and security fixesnew features, bugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-SSLtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Crash report
_PySSLContext_set_keylog_filename()inModules/_ssl/debughelpers.cdoes not check the value forNULLand passes it toPy_fopen().It should raise an
AttributeErrorinstead, like the setters generated by Argument Clinic inModules/_ssl.c.The same code is in 3.13, 3.14 and 3.15.
Linked PRs