Skip to content

Use after free in PyObject_GetState #68285

@pkt

Description

@pkt
mannequin
BPO 24097
Nosy @pitrou, @avassalotti, @benjaminp, @serhiy-storchaka
Files
  • poc_getstate.py
  • getstate_borrowed_ref.patch
  • test_issue24097.patch
  • getstate_borrowed_ref_with_test-2.7.patch
  • getstate_borrowed_ref_with_test-3.4.patch
  • 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 = 'https://github.com/pitrou'
    closed_at = <Date 2015-11-25.16:37:39.506>
    created_at = <Date 2015-05-01.14:05:35.520>
    labels = ['extension-modules', 'type-crash']
    title = 'Use after free in PyObject_GetState'
    updated_at = <Date 2015-11-25.16:37:39.505>
    user = 'https://bugs.python.org/pkt'

    bugs.python.org fields:

    activity = <Date 2015-11-25.16:37:39.505>
    actor = 'serhiy.storchaka'
    assignee = 'pitrou'
    closed = True
    closed_date = <Date 2015-11-25.16:37:39.506>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2015-05-01.14:05:35.520>
    creator = 'pkt'
    dependencies = []
    files = ['39248', '39842', '39953', '40936', '40937']
    hgrepos = []
    issue_num = 24097
    keywords = ['patch']
    message_count = 9.0
    messages = ['242313', '246069', '246070', '246102', '246122', '246949', '254001', '254002', '255366']
    nosy_count = 7.0
    nosy_names = ['pitrou', 'alexandre.vassalotti', 'benjamin.peterson', 'Arfrever', 'python-dev', 'serhiy.storchaka', 'pkt']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue24097'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    extension-modulesC modules in the Modules dirtype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions