- added patch to distribution package
- changed debug_sc_result to be a define. this now gets the line of code correct - added checking for input length to functions that parse the bulkin buffer - fixed segfault for GetReadersPACECapabilities when no card is inserted - added length checking of input for EstablishPACEChannel - ccid-test: fixed pbSendBufferEstablish - pcsclite_trunk.patch: - fixed parsing of lengthCertificateDescription - fixed wrong bPINOperation for pace capabilities and execute pace git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@156 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -46,13 +46,14 @@ main(int argc, char *argv[])
|
||||
0x00, /* lengthInputData */
|
||||
0x03, /* PACE with PIN */
|
||||
0x00, /* length CHAT */
|
||||
0x00, /* length PIN */
|
||||
0x00, /* length certificate description */
|
||||
0x00, /* length certificate description */
|
||||
};
|
||||
BYTE pbRecvBuffer[1024];
|
||||
DWORD dwActiveProtocol, dwRecvLength, dwReaders;
|
||||
|
||||
uint16_t lengthInputData = 4;
|
||||
uint16_t lengthInputData = 5;
|
||||
memcpy(pbSendBufferEstablish + 1, &lengthInputData, 2);
|
||||
|
||||
if (argc > 1) {
|
||||
|
||||
Reference in New Issue
Block a user