Merge pull request #4867 from akallabeth/empty_smartcard_filter_fix
Fixed smartcard filter for empty arguments.
This commit is contained in:
commit
59ae00baaa
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user