mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
Fix #7834: Check if optional argument value is present
This commit is contained in:
parent
1d86b2064f
commit
ad20e431cc
@ -3515,6 +3515,7 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
|
|||||||
arg = CommandLineFindArgumentA(largs, "smartcard-logon");
|
arg = CommandLineFindArgumentA(largs, "smartcard-logon");
|
||||||
if (arg->Flags & COMMAND_LINE_ARGUMENT_PRESENT)
|
if (arg->Flags & COMMAND_LINE_ARGUMENT_PRESENT)
|
||||||
{
|
{
|
||||||
|
if (arg->Flags & COMMAND_LINE_VALUE_PRESENT)
|
||||||
FillMemory(arg->Value, strlen(arg->Value), '*');
|
FillMemory(arg->Value, strlen(arg->Value), '*');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user