[10] RFR 8173181: Empty string alias in KeyStore throws StringIndexOutOfBoundsException for getEntry()

Vincent Ryan vincent.x.ryan at oracle.com
Thu Aug 24 14:53:30 UTC 2017


> On 24 Aug 2017, at 15:50, Weijun Wang <weijun.wang at oracle.com> wrote:
> 
> 1. Maybe just check length > 1?

Yes. I’ll make the change.

> 
> 2. The test's @summary seems unrelated.

An empty alias is supported in JKS.


> 
> --Max
> 
>> On Aug 24, 2017, at 10:27 PM, Vincent Ryan <vincent.x.ryan at oracle.com> wrote:
>> 
>> Please review this fix to correct support for an empty string alias in PKCS12 keystores.
>> Thanks.
>> 
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8173181
>> Webrev: http://cr.openjdk.java.net/~vinnie/8173181/webrev.00/
>> 
>> 
> 




More information about the security-dev mailing list