WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
143281
Content extensions should properly handle regexes that match everything
https://bugs.webkit.org/show_bug.cgi?id=143281
Summary
Content extensions should properly handle regexes that match everything
Alex Christensen
Reported
2015-03-31 16:27:24 PDT
Right now, when you only have regexes that match everything, infinite loops happen. Let's make it safer, faster, and more correct!
Attachments
Patch
(35.85 KB, patch)
2015-03-31 17:13 PDT
,
Alex Christensen
benjamin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2015-03-31 17:13:41 PDT
Created
attachment 249870
[details]
Patch
Benjamin Poulain
Comment 2
2015-03-31 17:59:51 PDT
Comment on
attachment 249870
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=249870&action=review
> Source/WebCore/contentextensions/CombinedURLFilters.cpp:205 > + if (!nfas.size()) > + nfas.append(NFA());
I think I would do this in the ExtensionCompiler only if there are universal actions.
Alex Christensen
Comment 3
2015-04-02 12:44:50 PDT
http://trac.webkit.org/changeset/182239
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug