Skip to content

compile("-"*3000000 + "4", '', mode) causes hard crash #90268

Closed
@cmcmarrow

Description

@cmcmarrow
mannequin
BPO 46110
Nosy @gvanrossum, @terryjreedy, @ericvsmith, @ambv, @ericsnowcurrently, @serhiy-storchaka, @Kojoley, @lysnikolaou, @pablogsal, @tirkarthi, @sweeneyde, @cmcmarrow
PRs
  • bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser #30177
  • [3.10] bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser (GH-30177) #30214
  • [3.9] bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser (GH-30177) #30215
  • bpo-46110: Revert "bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser" #30363
  • bpo-46110: Restore commit 9d35dedc5e7e940b639230fba93c763bd9f19c09 #30366
  • 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 2022-01-04.23:00:52.902>
    created_at = <Date 2021-12-17.05:22:07.027>
    labels = ['interpreter-core', '3.10', '3.9', 'type-crash', '3.11']
    title = 'compile("-"*3000000 + "4", \'\', mode) causes hard crash'
    updated_at = <Date 2022-01-10.11:42:32.294>
    user = 'https://github.com/cmcmarrow'

    bugs.python.org fields:

    activity = <Date 2022-01-10.11:42:32.294>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-04.23:00:52.902>
    closer = 'pablogsal'
    components = ['Parser']
    creation = <Date 2021-12-17.05:22:07.027>
    creator = 'charles.mcmarrow.4'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46110
    keywords = ['patch']
    message_count = 45.0
    messages = ['408753', '408757', '408758', '408781', '408783', '408828', '408829', '408830', '408831', '408833', '408964', '408965', '408967', '409501', '409520', '409522', '409526', '409527', '409533', '409535', '409543', '409544', '409547', '409549', '409553', '409554', '409556', '409593', '409598', '409601', '409606', '409608', '409612', '409613', '409630', '409631', '409635', '409638', '409639', '409705', '409710', '409718', '409737', '410119', '410132']
    nosy_count = 12.0
    nosy_names = ['gvanrossum', 'terry.reedy', 'eric.smith', 'lukasz.langa', 'eric.snow', 'serhiy.storchaka', 'Kojoley', 'lys.nikolaou', 'pablogsal', 'xtreak', 'Dennis Sweeney', 'charles.mcmarrow.4']
    pr_nums = ['30177', '30214', '30215', '30363', '30366']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue46110'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only 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