summaryrefslogtreecommitdiff
path: root/Source/WebKit/English.lproj/WebJavaScriptTextInputPanel.nib/keyedobjects.nib
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2017-09-27 13:23:27 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2017-11-08 16:15:20 +0000
commit1cc2ffbaaa177340bb6f2b0b14ac267a3f24b116 (patch)
treef4c80fc018b1e2bc9eb9f2154b4c36d587495cea /Source/WebKit/English.lproj/WebJavaScriptTextInputPanel.nib/keyedobjects.nib
parent3f941dc062674630daa39770ac027658f8fb0302 (diff)
downloadqtwebkit-1cc2ffbaaa177340bb6f2b0b14ac267a3f24b116.tar.gz
Prevent crash when downloading large blob data
QByteArray::{from,to}Base64 are prone to integer overflow when input data is large, which causes segfaults. We have to set threshold on data size to prevent this from happening. Also, changed data URL construction code to do less intermediate memory reservations. Though biggest offender is QUrl constructor and it has to stay. Original commit: https://github.com/annulen/webkit/commit/535c062962e3e0f425848e6b32ad1c95d25bec4b Change-Id: Ieaf4c914fdff086e15d2358bdb19d378f2a11feb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'Source/WebKit/English.lproj/WebJavaScriptTextInputPanel.nib/keyedobjects.nib')
0 files changed, 0 insertions, 0 deletions