From 314846a45e43e57ea4784fc26527e629e8fe6595 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 24 May 2022 19:01:31 +0200 Subject: [PATCH] whoops, I missed one foq --- src/lib/decrypter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/decrypter.c b/src/lib/decrypter.c index a2a7c3d..0611f41 100644 --- a/src/lib/decrypter.c +++ b/src/lib/decrypter.c @@ -54,7 +54,7 @@ outputFlags decryptText(char *text, char *key, inputFlags flags) numberBuffer++; } - textBuffer = malloc(sizeof(char) * numberBuffer); + textBuffer = malloc(numberBuffer); //LOAD textBuffer for (int j = 0; j < strlen(text); j++)