Project

General

Profile

Actions

Bug #4744

closed

excess bytes beyond end of response TPDU / SW if Lc=0 / Le=0

Added by laforge over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
Start date:
09/02/2020
Due date:
% Done:

100%

Spec Reference:

Description

If P3 is 0 and there is no command nor response data (only a status word to be returned), we seem to be passing tons of extraneous zero-initialized bytes to the reader:

[003 CONN_CLIENT_MAPPED_CARD] bankd_main.c:761 Rx RSPRO tpduModemToCard
[003 CONN_CLIENT_MAPPED_CARD] bankd_main.c:701 tpduModemToCard(80f2000c00)
[003 CONN_CLIENT_MAPPED_CARD] bankd_pcsc.c:221 : OK
[003 CONN_CLIENT_MAPPED_CARD] bankd_main.c:727 tpduModemToCard response from card: 6b0b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)