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

Prevent ReDos issue with regex inside gopher_parsedir #446

Merged
merged 1 commit into from
May 27, 2021

Conversation

kukawski
Copy link
Collaborator

Passing specific string to gopher_parsedir may result in long excesively long evaluation by the regex used inside the function.
This patch should prevent it.

@kukawski kukawski requested a review from kvz May 25, 2021 19:52
@kvz kvz merged commit eb86332 into master May 27, 2021
@kvz kvz deleted the gopher_parsedir_redosfix branch May 27, 2021 06:46
@kvz
Copy link
Collaborator

kvz commented May 27, 2021

+ locutus@2.0.15

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