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

Potential null pointer dereference inPySSLSession_richcompare #126106

Closed
Labels
3.12only security fixes3.13bugs and security fixes3.14bugs and security fixeseasyextension-modulesC modules in the Modules dirtopic-SSLtype-bugAn unexpected behavior, bug, or error
@federicovalenso

Description

@federicovalenso

Bug report

Bug description:

Pointerleft is dereferencedhere, but null-pointer checkis done later. Correct code should look like this:

intresult;if (left==NULL||right==NULL) {PyErr_BadInternalCall();returnNULL;    }PyTypeObject*sesstype= ((PySSLSession*)left)->ctx->state->PySSLSession_Type;

CPython versions tested on:

3.11

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixes3.14bugs and security fixeseasyextension-modulesC modules in the Modules dirtopic-SSLtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp