Skip to content

re: limit the maximum capturing group to 1,073,741,823, reduce sizeof(match_context). #91412

Description

@animalize
mannequin
BPO47256
Nosy@ezio-melotti, @serhiy-storchaka, @animalize
PRs
  • bpo-47256: re module, limit the maximum capturing group to 1,073,741,823, increasing the depth of backtracking. #32411
  • 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=Noneclosed_at=Nonecreated_at=<Date2022-04-08.06:54:08.832>labels= ['3.11', 'library', 'performance']
    title='re: limit the maximum capturing group to 1,073,741,823, reduce sizeof(match_context).'updated_at=<Date2022-04-08.07:02:49.829>user='https://github.com/animalize'

    bugs.python.org fields:

    activity=<Date2022-04-08.07:02:49.829>actor='malin'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)']
    creation=<Date2022-04-08.06:54:08.832>creator='malin'dependencies= []
    files= []
    hgrepos= []
    issue_num=47256keywords= ['patch']
    message_count=1.0messages= ['416960']
    nosy_count=4.0nosy_names= ['ezio.melotti', 'mrabarnett', 'serhiy.storchaka', 'malin']
    pr_nums= ['32411']
    priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='resource usage'url='https://bugs.python.org/issue47256'versions= ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesperformancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directorytopic-regex

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions