From mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=576811 /(?:(?=x))+/.exec("x") Hangs in JIT code under JSC::Yarr::RegexCodeBlock::execute.
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.
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>
All reviewed patches have been landed. Closing bug.
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!
Revision r64307 cherry-picked into qtwebkit-2.1 with commit df5e090 <http://gitorious.org/webkit/qtwebkit/commit/df5e090>