[Webkit-unassigned] [Bug 11849] New: 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
Sat Dec 16 05:18:16 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11849

           Summary: REGRESSION (r18182): Google Calendar is broken (a
                    regular expression containing a null character is not
                    parsed correctly)
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://www.google.com/calendar/render
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: HasReduction, Regression, GoogleBug
          Severity: Major
          Priority: P1
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mitz at webkit.org
                CC: ap at webkit.org


Google Calendar does not display most of the interface in TOT. It fails due to
an "Invalid regular expression" error during its initialization. Prior to
r18182 (fix for bug 6257), JSC did not throw errors on invalid regular
expression.

The offending regular expression is valid, but it fails to be parsed correctly
since it contains a null character, which PCRE considers as a terminator. 

A reduced test case is
RegExp("[\0]")
which throws an error ("missing terminating ] for character class").


-- 
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