ladybird/Userland/Libraries/LibSQL
Timothy Flynn f8f36effc9 LibSQL: Limit the allowed depth of an expression tree
According to the definition at https://sqlite.org/lang_expr.html, SQL
expressions could be infinitely deep. For practicality, SQLite enforces
a maxiumum expression tree depth of 1000. Apply the same limit in
LibSQL to avoid stack overflow in the expression parser.

Fixes https://crbug.com/oss-fuzz/34859.
2021-06-05 23:48:18 +04:30
..
AST.h LibSQL: Parse ALTER TABLE statement 2021-04-24 14:22:08 +02:00
CMakeLists.txt LibSQL: Add a syntax highlighter 2021-05-09 09:39:05 +02:00
Forward.h LibSQL: Parse ALTER TABLE statement 2021-04-24 14:22:08 +02:00
Lexer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Lexer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp LibSQL: Limit the allowed depth of an expression tree 2021-06-05 23:48:18 +04:30
Parser.h LibSQL: Limit the allowed depth of an expression tree 2021-06-05 23:48:18 +04:30
SyntaxHighlighter.cpp LibSQL: Fix off-by-one error in SyntaxHighlighter 2021-06-05 00:32:28 +04:30
SyntaxHighlighter.h LibSQL: Clean up SyntaxHighlighter code 2021-06-05 00:32:28 +04:30
Token.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Token.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00