summaryrefslogtreecommitdiff
path: root/src/parser/parser.c
diff options
context:
space:
mode:
authorKevin Zheng <kevinz5000@gmail.com>2025-04-29 11:40:31 -0700
committerKevin Zheng <kevinz5000@gmail.com>2025-04-29 11:40:31 -0700
commitefc45b818f8f7e0b61978948842f1b2fd9ae2c1e (patch)
treea292c109fff6a8692a58c8f975320a27e86f5977 /src/parser/parser.c
parentbcc0c2d12f675fd6933f06318fd2def696a8b8ca (diff)
downloadsshguard-master.tar.gz
sshguard-master.zip
There are some really long lines that come from CLF logs in the wild that would otherwise be ignored. Bump MAX_LEN to detect some of the longer requests.
Diffstat (limited to 'src/parser/parser.c')
-rw-r--r--src/parser/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/parser.c b/src/parser/parser.c
index 8d078ab..ac69fef 100644
--- a/src/parser/parser.c
+++ b/src/parser/parser.c
@@ -13,7 +13,7 @@
#include "parser.h"
#include "sandbox.h"
-#define MAX_LEN 1000
+#define MAX_LEN 4096
unsigned int test_counter = 0;