Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3531

Regex matching for SQL has no hard limits

    XMLWordPrintable

Details

    Description

      If one of the filters that uses a regular expression against an SQL statement is configured with a pattern that backtraces catastrophically and an excessively long SQL statement is used, the parsing can take several minutes. In order to protect against user errors, filters that use regular expressions could limit the length of the SQL statement to a default value. This would minimize the effects of expensive regular expressions.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.