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

Dangerous reference count decrement. #134411

Copy link
Copy link
Open
@smurav

Description

@smurav
Issue body actions

Py_DECREF(val);

Since PyLong_FromLong can return NULL, it is necessary to use Py_XDECREF, as stated in refcount.h.

NULL pointer. If it may be NULL, use Py_XINCREF/Py_XDECREF instead.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    easyinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    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.