Update tinyxml2.h

Increase maximum recursion depth
This commit is contained in:
Alessio Quaglino
2022-06-06 14:08:40 +02:00
parent e45d9d16d4
commit 736659015c

View File

@@ -112,7 +112,7 @@ static const int TIXML2_PATCH_VERSION = 0;
// system, and the capacity of the stack. On the other hand, it's a trivial
// attack that can result from ill, malicious, or even correctly formed XML,
// so there needs to be a limit in place.
static const int TINYXML2_MAX_ELEMENT_DEPTH = 100;
static const int TINYXML2_MAX_ELEMENT_DEPTH = 500;
namespace tinyxml2
{