Fixi #6086: smartcard filter early abort.
Do not abort before incrementing read position.
This commit is contained in:
parent
cc6831ae31
commit
d366b426f9
@ -457,9 +457,6 @@ static DWORD filter_device_by_name_a(wLinkedList* list, LPSTR* mszReaders, DWORD
|
||||
LPSTR wreader = &(*mszReaders)[wpos];
|
||||
size_t readerLen = strnlen(rreader, cchReaders - rpos);
|
||||
|
||||
if (readerLen == 0)
|
||||
break;
|
||||
|
||||
rpos += readerLen + 1;
|
||||
|
||||
if (filter_match(list, rreader, readerLen))
|
||||
|
Loading…
Reference in New Issue
Block a user