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
|
//FIX (CLEAN) returningText
|
||||||
for (int i = 0; i <= textKeyChainLength; i++)
|
memset(returningText, '\0', textKeyChainLength + 1);
|
||||||
{
|
|
||||||
returningText[i] = '\0';
|
|
||||||
}
|
|
||||||
|
|
||||||
//LOAD returningText
|
//LOAD returningText
|
||||||
for (int i = 0; i < textKeyChainLength; i++)
|
for (int i = 0; i < textKeyChainLength; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user