mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +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:
parent
2578eb3b5e
commit
83dc061fd3
@ -332,7 +332,7 @@ static int net_getauthuser(struct net_context *c, int argc, const char **argv)
|
|||||||
|
|
||||||
SAFE_FREE(user);
|
SAFE_FREE(user);
|
||||||
SAFE_FREE(domain);
|
SAFE_FREE(domain);
|
||||||
SAFE_FREE(password);
|
BURN_FREE_STR(password);
|
||||||
d_printf(_("No authorised user configured\n"));
|
d_printf(_("No authorised user configured\n"));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -345,7 +345,7 @@ static int net_getauthuser(struct net_context *c, int argc, const char **argv)
|
|||||||
|
|
||||||
SAFE_FREE(user);
|
SAFE_FREE(user);
|
||||||
SAFE_FREE(domain);
|
SAFE_FREE(domain);
|
||||||
SAFE_FREE(password);
|
BURN_FREE_STR(password);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user