simplified cleaning allocated returningText with memset
now in decrypter
This commit is contained in:
parent
38956cce14
commit
ef3557333a
@ -130,10 +130,7 @@ outputFlags decryptText(char *text, char *keyNew)
|
||||
}
|
||||
|
||||
//FIX (CLEAN) returningText
|
||||
for (int i = 0; i <= textKeyChainLength; i++)
|
||||
{
|
||||
returningText[i] = '\0';
|
||||
}
|
||||
memset(returningText, '\0', textKeyChainLength + 1);
|
||||
|
||||
//LOAD returningText
|
||||
for (int i = 0; i < textKeyChainLength; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user