diff --git a/src/core/lib/encrypter.c b/src/core/lib/encrypter.c index ffd75dc..de1ef78 100644 --- a/src/core/lib/encrypter.c +++ b/src/core/lib/encrypter.c @@ -51,7 +51,7 @@ outputFlags encryptText(char *text, char *keyNew) //VARIABLES char *key = malloc(getKeyLength() + 1); char *returningText; - char *textBuffer; + char *textBuffer = malloc(1); int *textKeyChain = malloc(sizeof(int) * strlen(text)); int numberBuffer; FILE *fileBuffer;