Fixi #6086: smartcard filter early abort.
Do not abort before incrementing read position.
This commit is contained in:
parent
31f4a1f1e5
commit
6b66aa71fb
@ -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