Commit e1d3687d authored by Lars Knoll's avatar Lars Knoll Committed by The Qt Project
Browse files

Fix crashes when creating large documents


Compact an object in regular intervals when inserting
data into it, to avoid the object becoming huge.
Compact an object/array before inserting into another
array or object.
Check that the document doesn't get so big it's overflowing
the internal data structures.

Task-number: QTBUG-29288
Change-Id: Id39d80dac1e7d5a11f40819f41b4b336bce16947
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
parent 9cc106d9
No related merge requests found
Showing with 64 additions and 16 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment