summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-11-02 09:37:42 +0100
committerLars Knoll <lars.knoll@qt.io>2016-11-04 07:53:39 +0000
commit15df60239d2dd3b0f0844e3ec8c91300fb7a4b67 (patch)
treee0c863154de5e1766ffb1310711d36a63b6283e6 /src/corelib/io
parent4b6784b49c6dcf0add9ec0cbb4ad97cd191c2aa3 (diff)
Fix OOM crashes for huge json documents
Check all places where we reallocate our internal data structure and return a DocumentTooLarge parse error if we can't get enough memory. Change-Id: I006d0170d941837220c7dad0508571b68e2cbfd7 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Kati Kankaanpaa <kati.kankaanpaa@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions