Use of std::regex_search() can cause a crash due to near-infinite recursion

XMLWordPrintableJSON

    • Server Programmability
    • Fully Compatible
    • Programmability 2025-08-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We use std::regex_search which has known issues (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86164) when ".*" is used as the pattern. We should avoid using it.

      Current usage in shell.. There seem to be a few other usages in the codebase as well.

      See comments for more info.

            Assignee:
            James Bronsted
            Reporter:
            Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: