Sitelet https://github.com/python/cpython/issues/93990
Skip to content

refcounting bug in add_subclass in typeobject.c #93990

Description

@kumaraditya303

Currently is does not decref key and ref when the created dict is null.
See #93989

Activity

  1. added a commit that references this issue on Jun 19, 2022
  2. Fidget-Spinner commented on Jun 19, 2022

    @Fidget-Spinner
    Member

    Seems like this bug also exists in 3.11 and 3.10. Could you work on the 3.10 backport please? I think it needs to be done manually.

  3. kumaraditya303 commented on Jun 19, 2022

    @kumaraditya303
    ContributorAuthor

    Okay, I'll create the backports.

  4. added a commit that references this issue on Jun 19, 2022
  5. added a commit that references this issue on Jun 19, 2022
  6. added
    type-bugAn unexpected behavior, bug, or error
    3.11only security fixes
    3.12only security fixes
    on Jun 19, 2022
  7. added a commit that references this issue on Jun 19, 2022
  8. added a commit that references this issue on Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

3.10 (EOL)end of life3.11only security fixes3.12only security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions