harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-186) X509CertSelector.match throws ArrayIndexOutOfBoundsException when checks keyUsage criterion
Date Fri, 24 Mar 2006 06:27:18 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-186?page=all ]
     
Tim Ellison resolved HARMONY-186:
---------------------------------

    Resolution: Fixed

Thanks Stepan,

Patch applied to SECURITY module java.security.cert.X509CertSelector at repo revision 388407.

Please check that the patch was applied as you expected.


> X509CertSelector.match throws ArrayIndexOutOfBoundsException when checks keyUsage criterion
> -------------------------------------------------------------------------------------------
>
>          Key: HARMONY-186
>          URL: http://issues.apache.org/jira/browse/HARMONY-186
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: Stepan Mishura
>     Assignee: Tim Ellison
>  Attachments: fixHarmony186.txt
>
> According to the spec. of X509Certificate and X509CertSelector classes KeyUsage extension
is represented by array of boolean values.
> But the spec. doesn't specify any restrictions on the array so instances of X509Certificate
and X509CertSelector classes may have arrays of different length to be matched. If a certificate's
array is longer then a selector's array then invocation of method X509CertSelector.match(java.security.cert.Certificate)
throws ArrayIndexOutOfBoundsException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message