Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,870
    • Issues 3,870
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #17659
Closed
Open
Created Jan 18, 2018 by Dirk Reinbach@eel76

Stack overflow during regex matching

EDIT: Discussion below identified that the actual problem is the ancient regex implementation using recursion instead of iteration, so a stack overflow can occur on some regex/input pairs. #17686 has been opened to consider replacements for the regex infrastructure.


Please find attached a minimalistic CMake project to reproduce this crash. I tried to simplify the project even further, but the crash wasn't reproducable any longer.

CMake 3.9.6 processes this project without any problems.

Coding_Guidelines.zip

Edited Jan 31, 2018 by Brad King
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking