Fix a crash when parsing a cubic-bezier function
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Nov 2007 03:51:57 +0000 (03:51 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Nov 2007 03:51:57 +0000 (03:51 +0000)
commit91b83141c600a93f2d453760cbc0b4876b64e68c
tree54d75fd44500f88747ea3f8092b8d23dc3cc1c80
parent09218ae8be55d82d95b1a2c95d955b4dd1d4116c
 Fix a crash when parsing a cubic-bezier function

 WebCore:

         Fix a crash when parsing a cubic-bezier function

         Reviewed by Hyatt.

         Test: fast/css/parse-timing-function-crash.html

         * WebCore.vcproj/WebCore.vcproj:
         * css/CSSParser.cpp:
         (WebCore::CSSParser::parseTimingFunctionValue): Don't walk off the end
         of the ValueList.

 LayoutTests:

         New test for a crash when parsing a cubic-bezier function

         Reviewed by Hyatt.

         * fast/css/parse-timing-function-crash-expected.txt: Added.
         * fast/css/parse-timing-function-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/parse-timing-function-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/parse-timing-function-crash.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/CSSParser.cpp