2
0

bzero is nonstandard. Replace with memset_s.

This commit is contained in:
Maarten Billemont
2017-09-24 13:14:16 -04:00
parent 0a024b2594
commit fafe56166e
5 changed files with 16 additions and 15 deletions

View File

@@ -128,7 +128,7 @@ const char *mpw_getpass(const char *prompt) {
return NULL;
password = strdup( answer );
bzero( answer, strlen( answer ) );
memset_s( answer, strlen( answer ), 0, strlen( answer ) );
return password;
}