JavaScriptCore:
authorkmccullo <kmccullo@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Jun 2007 06:53:45 +0000 (06:53 +0000)
committerkmccullo <kmccullo@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Jun 2007 06:53:45 +0000 (06:53 +0000)
commit7164970979533c8cb2c963953f55b0bb9a430502
tree1b5c1c5ba7eb474b3643620d17b2771f4037cf6e
parentda2cd26932c51e274559a057e2281754c6cb7afe
JavaScriptCore:

        Reviewed by Darin.

        - <rdar://problem/5271937> REGRESSION: Apparent WebKit JavaScript memory smasher when submitting comment to iWeb site (crashes in kjs_pcre_compile2)
        - Correctly evaluate the return value of _pcre_ucp_findchar.

        * pcre/pcre_compile.c:
        (compile_branch):
        * pcre/pcre_exec.c:
        (match):

LayoutTests:

        Reviewed by Darin.

        - <rdar://problem/5271937> REGRESSION: Apparent WebKit JavaScript memory smasher when submitting comment to iWeb site (crashes in kjs_pcre_compile2)
        - Correctly evaluate the return value of _pcre_ucp_findchar.

        * fast/js/regexp-unicode-overflow-expected.txt: Added.
        * fast/js/regexp-unicode-overflow.html: Added.
        * fast/js/resources/regexp-unicode-overflow.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/pcre/pcre_compile.c
JavaScriptCore/pcre/pcre_exec.c
LayoutTests/ChangeLog
LayoutTests/fast/js/regexp-unicode-overflow-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/regexp-unicode-overflow.html [new file with mode: 0644]
LayoutTests/fast/js/resources/regexp-unicode-overflow.js [new file with mode: 0644]