qt5base-lts/tests/auto/corelib
Lars Knoll 1756a84756 Limit the nesting depth of the Json parser
The parser is recursive and too deeply nested json would
cause it to exhaust the available stack space leading to
crashes.

We now abort parsing with a DeepNesting parse error if the
document is too deeply nested. The current nesting limit
is set to 1024, which should be more then enough for any
real JSON data set.

Change-Id: I4adea3fd727149f7342536d73cf4530361a0a3a1
Reviewed-by: Jamey Hicks <jamey.hicks@nokia.com>
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
2012-05-16 04:25:11 +02:00
..
animation Don't use obsolete qVariantValue, qVariantCanConvert, etc. 2012-05-02 08:30:59 +02:00
codecs Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtCore] 2012-05-04 12:45:47 +02:00
global Add Q_UINT64_C to 64 bit integer literal. 2012-05-15 23:03:23 +02:00
io Fix QFile::permissions for long filenames 2012-05-16 04:24:43 +02:00
itemmodels Don't use obsolete qVariantValue, qVariantCanConvert, etc. 2012-05-02 08:30:59 +02:00
json Limit the nesting depth of the Json parser 2012-05-16 04:25:11 +02:00
kernel Remove const char *-based connectNotify() API 2012-05-15 04:57:37 +02:00
mimetypes Rename QMimeDatabase method for consistency. 2012-05-15 14:25:37 +02:00
plugin Remove insignification from QPluginLoader and QFactoryLoader tests. 2012-04-17 16:28:46 +02:00
statemachine Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
thread Make the event notification on Windows be mandatory in all dispatchers 2012-05-04 12:44:14 +02:00
tools QChar: add isSurrogate() and isNonCharacter() to the public API 2012-05-16 04:24:56 +02:00
xml Convert these files to ASCII or UTF-8 2012-04-27 22:52:01 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00