]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Add support for SQLITE_LIMIT_PARSER_DEPTH to limit the size of the stack
authordrh <>
Tue, 18 Nov 2025 17:27:46 +0000 (17:27 +0000)
committerdrh <>
Tue, 18 Nov 2025 17:27:46 +0000 (17:27 +0000)
commit4b43acc7183b67ea3d708344c0c939dbf424ac87
treee2da0d8df16d99b89266c9e25ef5c32a1dc8c10d
parentef4abc0a636b432a4945ea2e436296ac56d271a0
parent9e91a1fe89eb3c09dc7b53e4d7c5ecea5006b649
Add support for SQLITE_LIMIT_PARSER_DEPTH to limit the size of the stack
used by the parser.  This can help prevent deeply nested parse trees that
then cause problems on machines with smaller CPU stacks.  Modify the
%realloc and %free directives of Lemon and add the new %stack_size_limit
directive in support of this capability.

FossilOrigin-Name: 52ba0c731d004409353a55ce8ca5a514ce486a077a2be82db5b8fea7619848d5
manifest
manifest.uuid