[Pcsclite-muscle] Missing checks of ATRDecodeAtr returns

Maksim Ivanov emaxx at google.com
Fri Jul 31 12:04:20 EDT 2020


Hello,

The callers of the ATRDecodeAtr() function (SCardConnect() and
SCardReconnect() in winscard.c) don't check its return value, which
might potentially cause reads of uninitialized variables
|availableProtocols| and |defaultProtocol| and unexpected side
effects.


Regards,
Maksim



More information about the pcsclite-muscle mailing list