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

Appearance settings

asserting that the tstate pointer is non-NULL using assert #122928

Copy link
Copy link
@Wulian233

Description

@Wulian233
Issue body actions

Bug report

Bug description:

https://github.com/python/cpython/blob/main/Python/pystate.c#L3016

To prevent dangling pointer issues, adding a check for NULL ensures that invalid pointers are not dereferenced

Linked PRs

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.