We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13c6f16 commit 7e21147Copy full SHA for 7e21147
Release/src/json/json_parsing.cpp
@@ -196,12 +196,11 @@ class JSON_Parser
196
size_t m_currentColumn;
197
size_t m_currentParsingDepth;
198
199
-// On APPLE debug overflow happens around 80.
200
// The DEBUG macro is defined in XCode but we don't in our CMakeList
201
// so for now we will keep the same on debug and release. In the future
202
// this can be increase on release if necessary.
203
#if defined(__APPLE__)
204
- static const size_t maxParsingDepth = 64;
+ static const size_t maxParsingDepth = 32;
205
#else
206
static const size_t maxParsingDepth = 128;
207
#endif
0 commit comments