Skip to content

Unnecessary NULL check for code->_co_monitoring in remove_tools #131763

@smurav

Description

@smurav

If monitoring variable is equal to NULL then we'll get segmentation fault in
line 843 since monitoring = code->_co_monitoring.

Otherwise, the if statement is incorrect.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions