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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • SP Prioritized List
    • None
    • 3
    • 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:
            Unassigned
            Reporter:
            Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: