WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
42664
Simple lookahead hangs Yarr
https://bugs.webkit.org/show_bug.cgi?id=42664
Summary
Simple lookahead hangs Yarr
Oliver Hunt
Reported
2010-07-20 14:01:29 PDT
From mozilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=576811
/(?:(?=x))+/.exec("x") Hangs in JIT code under JSC::Yarr::RegexCodeBlock::execute.
Attachments
Patch to fix hang and add a new regression test.
(5.82 KB, patch)
2010-07-29 14:06 PDT
,
Michael Saboff
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Michael Saboff
Comment 1
2010-07-29 14:06:58 PDT
Created
attachment 62990
[details]
Patch to fix hang and add a new regression test. Added check to jit code to only try to match more if some input was consumed in the current match. Also added some new test cases to check for regressions.
WebKit Commit Bot
Comment 2
2010-07-29 14:33:30 PDT
Comment on
attachment 62990
[details]
Patch to fix hang and add a new regression test. Clearing flags on attachment: 62990 Committed
r64307
: <
http://trac.webkit.org/changeset/64307
>
WebKit Commit Bot
Comment 3
2010-07-29 14:33:34 PDT
All reviewed patches have been landed. Closing bug.
Yael
Comment 4
2010-12-06 13:40:10 PST
Ademar, can you please cherry-pick this to QtWebKit 2.1? I think it will fix
https://qtrequirements.europe.nokia.com/browse/BR-4872
. thanks!
Ademar Reis
Comment 5
2010-12-06 14:06:09 PST
Revision
r64307
cherry-picked into qtwebkit-2.1 with commit df5e090 <
http://gitorious.org/webkit/qtwebkit/commit/df5e090
>
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