fnmatch: insist on escaped bracket to match #2614

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
@bagder
Member

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

fnmatch: insist on escaped bracket to match
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment