Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #309, avoid catastrophic backtracking in searchcommands.internals #312

Merged
merged 1 commit into from
Jun 7, 2021
Merged

Conversation

mschwager
Copy link
Contributor

Adding \\ to [^"] avoids overlap with \\. in the branch. Without this the regex can catastrophically backtrack between the two branches.

@fantavlik fantavlik changed the base branch from master to develop June 7, 2021 19:57
@fantavlik fantavlik merged commit 5877c0a into splunk:develop Jun 7, 2021
@fantavlik fantavlik mentioned this pull request Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants