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 committed by akallabeth
parent cc6831ae31
commit d366b426f9

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