blocking null character in setEncryptionSeparator
This commit is contained in:
parent
3585563139
commit
e45e13b7e5
@ -29,6 +29,8 @@ outputFlags noOutput(unsigned char exitCode)
|
|||||||
|
|
||||||
void setEncryptionSeparator(char encryptionSeparatorNew)
|
void setEncryptionSeparator(char encryptionSeparatorNew)
|
||||||
{
|
{
|
||||||
|
if (encryptionSeparatorNew == '\0') return;
|
||||||
|
|
||||||
encryptionSeparator = encryptionSeparatorNew;
|
encryptionSeparator = encryptionSeparatorNew;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user