RFR 6474858 : CardChannel.transmit(CommandAPDU) throws unexpected ArrayIndexOutOfBoundsException

Ivan Gerasimov ivan.gerasimov at oracle.com
Thu Aug 23 20:40:02 UTC 2018


Hello!

This is a smartcardio related issue.

If CardChannel.transmit() needs to issue an additional command, it 
reuses the array 'command' that was passed in as an argument, which may 
turn out to be shorter than needed.

The fix was verified locally with the manual test.

Would you please help review?

BUGURL: https://bugs.openjdk.java.net/browse/JDK-6474858
WEBREV: http://cr.openjdk.java.net/~igerasim/6474858/00/webrev/

-- 
With kind regards,
Ivan Gerasimov




More information about the security-dev mailing list