mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
Merge pull request #4867 from akallabeth/empty_smartcard_filter_fix
Fixed smartcard filter for empty arguments.
This commit is contained in:
@@ -811,7 +811,9 @@ UINT DeviceServiceEntry(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints)
|
||||
else
|
||||
smartcard = sSmartcard;
|
||||
|
||||
LinkedList_AddLast(smartcard->names, pEntryPoints->device->Name);
|
||||
if (pEntryPoints->device->Name)
|
||||
LinkedList_AddLast(smartcard->names, pEntryPoints->device->Name);
|
||||
|
||||
sSmartcard = smartcard;
|
||||
return CHANNEL_RC_OK;
|
||||
fail:
|
||||
|
||||
Reference in New Issue
Block a user