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

Valerie Peng valerie.peng at oracle.com
Fri Aug 24 00:18:23 UTC 2018


Changes look good.

Thanks,
Valerie

On 8/23/2018 1:40 PM, Ivan Gerasimov wrote:
> 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/
>




More information about the security-dev mailing list