aboutsummaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authordrh <>2023-05-05 20:22:06 +0000
committerdrh <>2023-05-05 20:22:06 +0000
commit4e73863fd4dd66d6a404a66c69e37e33292fa50e (patch)
tree25ed9c30422abd68cacde131e65c3970cc640a81 /src/json.c
parent77eb3e305c7cdee10e69426def6fa0cd0116fbe2 (diff)
downloadsqlite-4e73863fd4dd66d6a404a66c69e37e33292fa50e.tar.gz
sqlite-4e73863fd4dd66d6a404a66c69e37e33292fa50e.zip
Fix a comment in the JSON logic. No code changes.
FossilOrigin-Name: 3f30ea5ec9d849c64d8c38f4fffbc06c749ecff91ab90bc29b3a3cc9ec5b9df0
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json.c b/src/json.c
index 8e6ba48b4..f3a24d6df 100644
--- a/src/json.c
+++ b/src/json.c
@@ -144,8 +144,8 @@ struct JsonParse {
** Maximum nesting depth of JSON for this implementation.
**
** This limit is needed to avoid a stack overflow in the recursive
-** descent parser. A depth of 2000 is far deeper than any sane JSON
-** should go.
+** descent parser. A depth of 1000 is far deeper than any sane JSON
+** should go. Historical note: This limit was 2000 prior to version 3.42.0
*/
#define JSON_MAX_DEPTH 1000