mirror of https://github.com/FreeRDP/FreeRDP
careful with passwd in compatibility.c
(cherry picked from commit a4a5baf0da
)
This commit is contained in:
parent
174f2114dc
commit
8b621518b6
|
@ -473,7 +473,9 @@ int freerdp_client_parse_old_command_line_arguments(int argc, char** argv, rdpSe
|
|||
CommandLineSwitchCase(arg, "p")
|
||||
{
|
||||
settings->Password = _strdup(arg->Value);
|
||||
fprintf(stderr, "-p %s -> /p:%s\n", arg->Value, arg->Value);
|
||||
fprintf(stderr, "-p ****** -> /p:******\n");
|
||||
/* Hide the value from 'ps'. */
|
||||
FillMemory(arg->Value, strlen(arg->Value), '*');
|
||||
}
|
||||
CommandLineSwitchCase(arg, "s")
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue