Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

_ssl._SSLContext construction crashes when a bad build results in an emptyPY_SSL_DEFAULT_CIPHER_STRING #define #117310

Closed
Assignees
gpshead
Labels
type-bugAn unexpected behavior, bug, or errortype-crashA hard crash of the interpreter, possibly with a core dump
@gpshead

Description

@gpshead

Bug report

What happened?

This doesn't come up in practice as nobody would ever have such a misbehaving build in a supported released config.

Not a security issue.

I stumbled upon this while working on my draft#116399 BoringSSL linkage branch in my own non-OpenSSL Linux environment.

Steps to reproduce

./configure --with-ssl-default-suites="" && make -j24./python -m test test_ssl... SIGSEGV ...

The desired result is a Python exception. Clearly nobody builds intentionally with the above flag as it would've crashed when they tried to use their build. I encountered this error adifferent way due to a non-functional ssl library config.

CPython versions tested on:

CPython main branch

Linked PRs

Metadata

Metadata

Assignees

Labels

type-bugAn unexpected behavior, bug, or errortype-crashA hard crash of the interpreter, possibly with a core dump

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp