Skip to content

Conversation

@joshfried-aws
Copy link
Contributor

Issue #, if available:
N/A

Description of changes:
After running the guard fuzzer we found an issue where Fancy regex does not handle the case where a control character is present in the regex. To fix this we added a check before trying to create the regex, checking if any character in the string is a control character.

I have also added a test to ensure the fix is correct.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

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.

3 participants