Archived
It's very easy for a short packet to contain a very high number of nested arrays (a packet with N bytes can be N-1 nested arrays), which could cause stack overflow problems in devices using cbor_value_map_find_value, so ensure that we won't crash. The actual value needs to be chosen by the implementor depending on the stack size of their devices and the expected usage. Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
8 lines
153 B
Prolog
8 lines
153 B
Prolog
SOURCES += tst_parser.cpp
|
|
|
|
CONFIG += testcase parallel_test c++11
|
|
QT = core testlib
|
|
DEFINES += CBOR_PARSER_MAX_RECURSIONS=16
|
|
|
|
include(../../src/src.pri)
|