[ 
https://issues.apache.org/jira/browse/FELIX-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16578958#comment-16578958
 ] 

Karl Pauls commented on FELIX-5906:
-----------------------------------

Good catch - I think I fixed it in r1837982. 

[~timothyjward], could you test it with the current trunk (2.7.0-SNAPSHOT) and 
see if it works for you now?

> Intstalling Manifest only bundles causes ArrayIndexOutOfBoundsException from 
> Felix Security
> -------------------------------------------------------------------------------------------
>
>                 Key: FELIX-5906
>                 URL: https://issues.apache.org/jira/browse/FELIX-5906
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework.security-2.6.0
>            Reporter: Timothy Ward
>            Assignee: Karl Pauls
>            Priority: Major
>             Fix For: framework.security-2.8.0
>
>
> The Felix security Provider returns an empty array, rather than null when 
> [finding 
> certificates|[https://github.com/apache/felix/blob/trunk/framework.security/src/main/java/org/apache/felix/framework/security/verifier/BundleDNParser.java#L274].]
>  This then causes an ArrayIndexOutOfBoundsException when [this 
> line|https://github.com/apache/felix/blob/trunk/framework.security/src/main/java/org/apache/felix/framework/security/verifier/BundleDNParser.java#L475]
>  is reached



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to