Skip to content

fnmatch: insist on escaped bracket to match#2614

Closed
bagder wants to merge 1 commit intomasterfrom
bagder/fnmatch-escaped-brackets
Closed

fnmatch: insist on escaped bracket to match#2614
bagder wants to merge 1 commit intomasterfrom
bagder/fnmatch-escaped-brackets

Conversation

@bagder
Copy link
Member

@bagder bagder commented May 28, 2018

A non-escaped bracket ([) is for a character group - as documented. It
will not match an individual bracket anymore. Test case 1307 updated
accordingly to match.

Problem detected by OSS-Fuzz, although this fix is probably not a final
fix for the notorious timeout issues.

Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8525

A non-escaped bracket ([) is for a character group - as documented. It
will *not* match an individual bracket anymore. Test case 1307 updated
accordingly to match.

Problem detected by OSS-Fuzz, although this fix is probably not a final
fix for the notorious timeout issues.

Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8525
@bagder bagder closed this in 6482773 May 28, 2018
@bagder bagder deleted the bagder/fnmatch-escaped-brackets branch May 28, 2018 21:58
@lock lock bot locked as resolved and limited conversation to collaborators Aug 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant