You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Timothy Ward (JIRA)" <ji...@apache.org> on 2018/08/14 07:17:00 UTC

[jira] [Commented] (FELIX-5906) Installing Manifest only bundles causes ArrayIndexOutOfBoundsException from Felix Security

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

Timothy Ward commented on FELIX-5906:
-------------------------------------

[~karlpauls] - that seems to have done the trick! Now back to trying to reproduce the config admin bug that started me down this rabbit hole. :)

> Installing 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)