Skip to content

PEG parser segfault from ast.literal_eval #90497

Description

@gpshead
BPO 46339
Nosy @gpshead, @lysnikolaou, @pablogsal, @miss-islington, @kumaraditya303
PRs
  • bpo-46339: Fix crash in the parser when computing error text for multi-line f-strings #30529
  • [3.10] bpo-46339: Fix crash in the parser when computing error text for multi-line f-strings (GH-30529) #30542
  • bpo-46339: Include clarification on assert in 'get_error_line_from_tokenizer_buffers' #30545
  • 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/pablogsal'
    closed_at = <Date 2022-01-20.13:09:49.067>
    created_at = <Date 2022-01-11.02:56:11.794>
    labels = ['interpreter-core', 'type-crash', '3.11']
    title = 'PEG parser segfault from ast.literal_eval'
    updated_at = <Date 2022-01-20.13:09:49.067>
    user = 'https://github.com/gpshead'

    bugs.python.org fields:

    activity = <Date 2022-01-20.13:09:49.067>
    actor = 'pablogsal'
    assignee = 'pablogsal'
    closed = True
    closed_date = <Date 2022-01-20.13:09:49.067>
    closer = 'pablogsal'
    components = ['Parser']
    creation = <Date 2022-01-11.02:56:11.794>
    creator = 'gregory.p.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46339
    keywords = ['patch']
    message_count = 7.0
    messages = ['410270', '410275', '410291', '410294', '410313', '410852', '411023']
    nosy_count = 5.0
    nosy_names = ['gregory.p.smith', 'lys.nikolaou', 'pablogsal', 'miss-islington', 'kumaraditya']
    pr_nums = ['30529', '30542', '30545']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue46339'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-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