summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSObject.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-02-28 15:40:42 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-04 23:46:02 +0100
commit4cb8afd91bfbe845e9bc2e1eff94e33ad8f8865a (patch)
tree8f92699f4f7c25cb68b6d0d997b3f4d3e0800c17 /Source/JavaScriptCore/runtime/JSObject.cpp
parent204eaf0c491a29681dad87751f93e3079e08f0b4 (diff)
downloadqtwebkit-4cb8afd91bfbe845e9bc2e1eff94e33ad8f8865a.tar.gz
Do no allow arbitrarily large buffer during loading
If the network is faster or we get a cache-hit, we can currently end up processing very large QByteArrays. To lower the maximum memory pressure and improve caching, we should limit the maximum size of the buffers. Task-number: QTBUG-36979 Change-Id: I681e764d95db75aa846de2df8b84ac6630872afb Reviewed-by: Michael Bruning <michael.bruning@digia.com> Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSObject.cpp')
0 files changed, 0 insertions, 0 deletions