Skip to content

Fix possible parser/AST ref leaks #87945

@erlend-aasland

Description

@erlend-aasland
BPO 43779
Nosy @pablogsal, @erlend-aasland
PRs
  • bpo-43779: _PyArena_AddPyObject only steals a ref on success #25289
  • [3.9] bpo-43779: Fix possible refleak involving _PyArena_AddPyObject (GH-25289). #25294
  • Files
  • patch.diff
  • parser.diff
  • 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-04-09.17:47:25.019>
    created_at = <Date 2021-04-08.22:08:01.095>
    labels = ['type-bug', '3.10']
    title = 'Fix possible parser/AST ref leaks'
    updated_at = <Date 2021-04-09.17:47:25.018>
    user = 'https://github.com/erlend-aasland'

    bugs.python.org fields:

    activity = <Date 2021-04-09.17:47:25.018>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-09.17:47:25.019>
    closer = 'pablogsal'
    components = []
    creation = <Date 2021-04-08.22:08:01.095>
    creator = 'erlendaasland'
    dependencies = []
    files = ['49943', '49944']
    hgrepos = []
    issue_num = 43779
    keywords = ['patch']
    message_count = 8.0
    messages = ['390559', '390563', '390564', '390565', '390566', '390567', '390569', '390653']
    nosy_count = 2.0
    nosy_names = ['pablogsal', 'erlendaasland']
    pr_nums = ['25289', '25294']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43779'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only 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