diff options
author | Filip Pizlo <fpizlo@apple.com> | 2013-03-21 17:59:40 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-26 17:49:13 +0100 |
commit | d69b31b034ea442031e87623f4a210cc2cc4369b (patch) | |
tree | 99c21f40f61ba33931dbe1b6816c3c635e595703 /Source/JavaScriptCore/llint/LLIntSlowPaths.cpp | |
parent | 9868cadff7e4ca025547c9aef32ebdb37b2e9174 (diff) | |
download | qtwebkit-d69b31b034ea442031e87623f4a210cc2cc4369b.tar.gz |
jsc command line tool's support for typed arrays should be robust against array buffer allocation errors
https://bugs.webkit.org/show_bug.cgi?id=104020
<rdar://problem/12802478>
Reviewed by Mark Hahnenberg.
Check for null buffers, since that's what typed array allocators are supposed to do. WebCore does it,
and that is indeed the contract of ArrayBuffer and TypedArrayBase.
* JSCTypedArrayStubs.h:
(JSC):
Change-Id: If57957cd1a5397aeae59a3b9347db9de2f8a56fc
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/llint/LLIntSlowPaths.cpp')
0 files changed, 0 insertions, 0 deletions