Calling WebKitBlobBuilder.append with null argument should not crash
authorJian Li <jianli@chromium.org>
Fri, 10 Jun 2011 01:09:11 +0000 (01:09 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 10 Jun 2011 13:07:39 +0000 (10:07 -0300)
commit352e253389962f7d875b0ca6b1d7da8cea1640f7
treeac7186da3a7a7010e0c90e506ff94a1fbade2924
parent995f424a28b94c0894f661fda2be71a457448836
Calling WebKitBlobBuilder.append with null argument should not crash
https://bugs.webkit.org/show_bug.cgi?id=62419

Reviewed by David Levin.

Source/WebCore:

Test: fast/files/blob-builder-crash.html

* fileapi/WebKitBlobBuilder.cpp:
(WebCore::WebKitBlobBuilder::append):

LayoutTests:

* fast/files/blob-builder-crash-expected.txt: Added.
* fast/files/blob-builder-crash.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/files/blob-builder-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/files/blob-builder-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/fileapi/WebKitBlobBuilder.cpp