bzero is nonstandard. Replace with memset_s.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user