From c0cf5da34f3f6d45548f91207cc6f302bb2abc06 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Wed, 14 Sep 2022 20:38:53 +0200 Subject: [PATCH] Fixed md5 buffer size Signed-off-by: Janos SUTO --- src/tokenizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tokenizer.c b/src/tokenizer.c index 7fd16fb3..bb886c22 100644 --- a/src/tokenizer.c +++ b/src/tokenizer.c @@ -50,7 +50,7 @@ void tokenize(char *buf, struct parser_state *state, struct session_data *sdata, continue; } - char md5buf[2*MD5_DIGEST_LENGTH+2]; + char md5buf[2*DIGEST_LENGTH+2]; if(state->message_state == MSG_FROM && state->is_1st_header == 1 && strlen(state->b_from) < SMALLBUFSIZE-len-1){ strtolower(puf);