Merge remote-tracking branch 'origin/master' into more-fuzz2

This commit is contained in:
Pedro Ferreira
2026-06-10 07:57:44 +00:00
1046 changed files with 52796 additions and 21473 deletions
+8 -1
View File
@@ -495,11 +495,18 @@ bool Client::processWithASTFuzzer(std::string_view full_query)
bool Client::processBuzzHouseQuery(const String & full_query)
{
static constexpr size_t max_query_bytes = 1 << 20;
bool server_up = true;
have_error = false;
error_code = 0;
if (!processQueryText(full_query))
if (full_query.size() > max_query_bytes)
{
have_error = true;
error_code = ErrorCodes::CANNOT_PARSE_TEXT;
LOG_WARNING(fuzz_config->log, "Skipping oversized query ({} bytes, limit {})", full_query.size(), max_query_bytes);
}
else if (!processQueryText(full_query))
{
have_error = true;
error_code = ErrorCodes::CANNOT_PARSE_TEXT;