[Webkit-unassigned] [Bug 11849] REGRESSION (r18182): Google Calendar is broken (a regular expression containing a null character is not parsed correctly)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 28 07:24:38 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=11849
------- Comment #2 from mitz at webkit.org 2006-12-28 07:24 PDT -------
Created an attachment (id=12081)
--> (http://bugs.webkit.org/attachment.cgi?id=12081&action=view)
Quick and dirty fix, no change log, no test
This patch escapes null characters in the pattern before passing it to
pcre_compile. I looked into changing pcre_compile to take a length parameter
instead of a null-terminated string, and I think it's doable (would require
some careful work), but I'm not sure it's necessary.
No test regressions and in fact fixes two JavaScriptCore tests:
ecma_3/RegExp/octal-002.js and ecma_3/RegExp/regress-85721.js
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list