Report incorrect lengths for 0x04
instructions
This commit is contained in:
parent
89d1ff4acf
commit
a59ea2ce2b
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ public class MyApplet extends Applet {
|
|||
response = storage;
|
||||
|
||||
if (length > response.length) {
|
||||
length = (short) response.length;
|
||||
ISOException.throwIt((short)(ISO7816.SW_CORRECT_LENGTH_00 | response.length));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue