1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3:net: Zero password in secrets_fetch_ipc_userpass() callers

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Pavel Filipenský 2022-08-09 15:37:15 +02:00 committed by Andreas Schneider
parent 2578eb3b5e
commit 83dc061fd3

View File

@ -332,7 +332,7 @@ static int net_getauthuser(struct net_context *c, int argc, const char **argv)
SAFE_FREE(user);
SAFE_FREE(domain);
SAFE_FREE(password);
BURN_FREE_STR(password);
d_printf(_("No authorised user configured\n"));
return 0;
}
@ -345,7 +345,7 @@ static int net_getauthuser(struct net_context *c, int argc, const char **argv)
SAFE_FREE(user);
SAFE_FREE(domain);
SAFE_FREE(password);
BURN_FREE_STR(password);
return 0;
}