From 585982d27d9bcbda1e732854ead44e91ba3253e1 Mon Sep 17 00:00:00 2001 From: rilysh Date: Thu, 23 Feb 2023 14:10:19 +0530 Subject: [PATCH] fix: prefix size is equal to ONION_LENP1 --- eschalot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eschalot.c b/eschalot.c index bd5dcd5..a987794 100644 --- a/eschalot.c +++ b/eschalot.c @@ -142,7 +142,7 @@ static void *worker(void *); /* TODO: perhaps getting rid of so many globals is in order... */ _Bool done, cflag, fflag, nflag, pflag, rflag, vflag; unsigned int minlen, maxlen, threads, prefixlen, wordcount; -char fn[FILENAME_MAX + 1], prefix[ONION_LENP1]; +char fn[FILENAME_MAX + 1], prefix[ONION_LENP1 + 1]; regex_t *regex; pthread_mutex_t printresult_lock;