Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12420

pcre stack overflow on match

    XMLWordPrintable

Details

    Description

      The attached table-free query causes a seg fault in 10.2.4, 10.1.21, and 10.0.21 (and presumably all the others). Setting max_recursive_iterations to various values didn't turn that into a polite error, but according to the documenation, it should have.

      NOTE: setting 'thread_stack=800k' fixes this specific test, so it's definitely a stack issue. Examining a dumpfile showed many recursions of pcre 'match'.

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              donlindsay Don Lindsay
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.