diff options
author | Lars Knoll <lars.knoll@qt.io> | 2016-11-02 09:37:42 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-11-04 07:53:39 +0000 |
commit | 15df60239d2dd3b0f0844e3ec8c91300fb7a4b67 (patch) | |
tree | e0c863154de5e1766ffb1310711d36a63b6283e6 /tests/auto/tools/moc/namespaced-flags.h | |
parent | 4b6784b49c6dcf0add9ec0cbb4ad97cd191c2aa3 (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 'tests/auto/tools/moc/namespaced-flags.h')
0 files changed, 0 insertions, 0 deletions