bugfix: PACE response data was not copied to application
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@195 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -218,6 +218,7 @@ Index: ccid-1.3.11/src/commands.c
|
||||
+ length = *RxLength;
|
||||
+ return IFD_ERROR_INSUFFICIENT_BUFFER;
|
||||
+ }
|
||||
+ memcpy(RxBuffer, &cmd[10], length);
|
||||
+
|
||||
+ return IFD_SUCCESS;
|
||||
+}
|
||||
|
||||
@@ -218,6 +218,7 @@ Index: ccid-1.3.13/src/commands.c
|
||||
+ length = *RxLength;
|
||||
+ return IFD_ERROR_INSUFFICIENT_BUFFER;
|
||||
+ }
|
||||
+ memcpy(RxBuffer, &cmd[10], length);
|
||||
+
|
||||
+ return IFD_SUCCESS;
|
||||
+}
|
||||
|
||||
@@ -230,6 +230,7 @@ Index: Drivers/ccid/src/commands.c
|
||||
+ length = *RxLength;
|
||||
+ return IFD_ERROR_INSUFFICIENT_BUFFER;
|
||||
+ }
|
||||
+ memcpy(RxBuffer, &cmd[10], length);
|
||||
+
|
||||
+ return IFD_SUCCESS;
|
||||
+}
|
||||
|
||||
Reference in New Issue
Block a user