Skip to content

Incomplete tuple created by PyTuple_New() and accessed via the GC can trigged a crash #59313

Closed
@pxd

Description

@pxd
mannequin
BPO 15108
Nosy @arigo, @rhettinger, @jcea, @amauryfa, @pitrou, @vstinner, @corona10, @pablogsal, @erlend-aasland, @iritkatriel
PRs
  • bpo-15108: Prevent accessing the result tuple from Python in PySequence_Tuple #24510
  • 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-02-22.09:15:10.010>
    created_at = <Date 2012-06-19.21:52:13.870>
    labels = ['type-bug', '3.8', '3.9', '3.10', 'extension-modules', 'invalid']
    title = 'Incomplete tuple created by PyTuple_New() and accessed via the GC can trigged a crash'
    updated_at = <Date 2021-02-22.09:15:10.009>
    user = 'https://bugs.python.org/pxd'

    bugs.python.org fields:

    activity = <Date 2021-02-22.09:15:10.009>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-02-22.09:15:10.010>
    closer = 'pablogsal'
    components = ['Extension Modules']
    creation = <Date 2012-06-19.21:52:13.870>
    creator = 'pxd'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 15108
    keywords = ['patch']
    message_count = 22.0
    messages = ['163224', '163225', '163226', '164257', '164263', '164273', '164282', '164285', '228344', '228357', '386841', '387029', '387033', '387034', '387036', '387068', '387070', '387079', '387204', '387224', '387492', '387506']
    nosy_count = 13.0
    nosy_names = ['arigo', 'rhettinger', 'jcea', 'ghaering', 'amaury.forgeotdarc', 'pitrou', 'vstinner', 'lkraav', 'pxd', 'corona10', 'pablogsal', 'erlendaasland', 'iritkatriel']
    pr_nums = ['24510']
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue15108'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9only security fixesextension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions