[webkit-reviews] review requested: [Bug 47324] REGRESSION(r68204-r68242): Crash during execution of String.replace with specific regular expression : [Attachment 70271] Patch adding check for valid subexpression index

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 8 11:29:05 PDT 2010


Michael Saboff <msaboff at apple.com> has asked  for review:
Bug 47324: REGRESSION(r68204-r68242): Crash during execution of String.replace
with specific regular expression
https://bugs.webkit.org/show_bug.cgi?id=47324

Attachment 70271: Patch adding check for valid subexpression index
https://bugs.webkit.org/attachment.cgi?id=70271&action=review

------- Additional Comments from Michael Saboff <msaboff at apple.com>
This patch adds a check that the beginning index of a subexpression is not
negative before using it in a replacement.

Also added the submitters test case to JS tests.


More information about the webkit-reviews mailing list