From 736659015cbe9a3843d4f974cf896889809b85f1 Mon Sep 17 00:00:00 2001 From: Alessio Quaglino Date: Mon, 6 Jun 2022 14:08:40 +0200 Subject: [PATCH] Update tinyxml2.h Increase maximum recursion depth --- tinyxml2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyxml2.h b/tinyxml2.h index cfb1053..ba54a11 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -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 {