Fixi #6086: smartcard filter early abort.

Do not abort before incrementing read position.
This commit is contained in:
akallabeth 2020-04-14 18:58:55 +02:00
parent 31f4a1f1e5
commit 6b66aa71fb

View File

@ -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))