Fix Check if optional argument value is present
@@ -3515,6 +3515,7 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
arg = CommandLineFindArgumentA(largs, "smartcard-logon");
if (arg->Flags & COMMAND_LINE_ARGUMENT_PRESENT)
{
+ if (arg->Flags & COMMAND_LINE_VALUE_PRESENT)
FillMemory(arg->Value, strlen(arg->Value), '*');
}
