Skip to content

Use-after-free (of a heap type) during finalization #87127

@bstaletic

Description

@bstaletic
mannequin
BPO 42961
Nosy @vstinner, @encukou, @YannickJadoul, @bstaletic
PRs
  • bpo-44184: Fix subtype_dealloc() for freed type #26274
  • Files
  • heap_type_base_use_after_free.cpp
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-10-21.17:59:20.826>
    created_at = <Date 2021-01-18.21:16:00.169>
    labels = ['expert-C-API', 'type-bug', '3.9', '3.10']
    title = 'Use-after-free (of a heap type) during finalization'
    updated_at = <Date 2021-10-21.18:09:22.120>
    user = 'https://github.com/bstaletic'

    bugs.python.org fields:

    activity = <Date 2021-10-21.18:09:22.120>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-21.17:59:20.826>
    closer = 'petr.viktorin'
    components = ['C API']
    creation = <Date 2021-01-18.21:16:00.169>
    creator = 'bstaletic'
    dependencies = []
    files = ['49749']
    hgrepos = []
    issue_num = 42961
    keywords = []
    message_count = 3.0
    messages = ['385230', '385259', '404629']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'petr.viktorin', 'YannickJadoul', 'bstaletic']
    pr_nums = ['26274']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42961'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9 (EOL)end of lifetopic-C-APItype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions