careful with passwd in compatibility.c

(cherry picked from commit a4a5baf0da)
This commit is contained in:
Daryl Poe 2013-07-29 16:50:38 -06:00 committed by Bernhard Miklautz
parent 174f2114dc
commit 8b621518b6
1 changed files with 3 additions and 1 deletions

View File

@ -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")
{