diff --git a/src/core/lib/decrypter.c b/src/core/lib/decrypter.c index a580992..9f8f16f 100644 --- a/src/core/lib/decrypter.c +++ b/src/core/lib/decrypter.c @@ -111,9 +111,9 @@ outputFlags decryptText(char *text, char *keyNew) } //CLEAN (POSSIBLY EXISTING) JUNK in textBuffer - for (int i = 0; i <= numberBuffer; i++) + for (int j = 0; j <= numberBuffer; j++) { - textBuffer[i] = '\0'; + textBuffer[j] = '\0'; } //LOAD textBuffer