mirror of
https://github.com/samba-team/samba.git
synced 2025-08-07 09:49:30 +03:00
committed by
Gerald (Jerry) Carter
parent
e15a8b16c1
commit
bd1aed3232
@ -86,7 +86,7 @@ static void popt_common_credentials_callback(poptContext con,
|
||||
case OPT_PASSWORD:
|
||||
cli_credentials_set_password(cmdline_credentials, arg, CRED_SPECIFIED);
|
||||
/* Try to prevent this showing up in ps */
|
||||
memset(arg,0,strlen(arg));
|
||||
memset(discard_const(arg),0,strlen(arg));
|
||||
break;
|
||||
|
||||
case 'A':
|
||||
|
Reference in New Issue
Block a user