[Webkit-unassigned] [Bug 16323] New: Regexp functions fail silently when stack limit is exceeded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 6 01:14:13 PST 2007


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

           Summary: Regexp functions fail silently when stack limit is
                    exceeded
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: darin at apple.com


Regexp functions fail silently when stack limit is exceeded

var re = new RegExp("(\cd{4,}|[(\u006c)]*?)*", "imy");
"foo".match(re);

All this does is print:
jsRegExpExecute failed with result -5

To the console.  I would have expected it to throw an exception.


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