Skip to content

regexp: stack overflow (process exit) handling deeply nested regexp [1.16 backport] #51117

Closed

Description

@gopherbot

@ianlancetaylor requested issue #51112 to be considered for backport to the next 1.16 minor release.

@gopherbot Please open backport issues.

Limit regexp recursion to avoid crashing on deeply nested regexp. Per issue description, this should be backported.

Activity

  1. added this to the Go1.16.15 milestone on Feb 9, 2022
  2. gopherbot commented on Feb 10, 2022

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/384855 mentions this issue: [release-branch.go1.16] regexp/syntax: reject very deeply nested regexps in Parse

  3. added
    CherryPickApprovedUsed during the release process for point releases
    and removed
    CherryPickCandidateUsed during the release process for point releases
    on Feb 16, 2022
  4. gopherbot commented on Feb 17, 2022

    @gopherbot
    ContributorAuthor

    Closed by merging 2b65cde to release-branch.go1.16.

  5. added a commit that references this issue on Feb 17, 2022
    2b65cde
  6. added a commit that references this issue on Sep 14, 2022
    e88851b
  7. added 2 commits that reference this issue on Oct 5, 2022
    e282c4a
    a6d502f
  8. locked and limited conversation to collaborators on Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions