mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-02 02:34:19 +00:00
Add a missing .* to the backtracking explosion fix for 823431
This commit is contained in:
@@ -371,7 +371,7 @@ sub parse_insert {
|
||||
|
||||
# Parse INTO clause. Literal "INTO" is optional.
|
||||
if ( my @into = ($query =~ m/
|
||||
(?=VALUE|SE(?:T|LECT)) # Avoid a backtracking explosion
|
||||
(?=.*?(?:VALUE|SE(?:T|LECT))) # Avoid a backtracking explosion
|
||||
(?:INTO\s+)? # INTO, optional
|
||||
(.+?)\s+ # table ref
|
||||
(\([^\)]+\)\s+)? # column list, optional
|
||||
|
Reference in New Issue
Block a user