[jboss-jira] [JBoss JIRA] (ELY-1500) Coverity, Infinite Loop in FactoryCredentialSource

Darran Lofthouse (JIRA) issues at jboss.org
Fri May 11 12:52:03 EDT 2018


     [ https://issues.jboss.org/browse/ELY-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse updated ELY-1500:
----------------------------------
    Fix Version/s: 1.3.3.CR1
                       (was: 1.3.2.Final)


> Coverity, Infinite Loop in FactoryCredentialSource
> --------------------------------------------------
>
>                 Key: ELY-1500
>                 URL: https://issues.jboss.org/browse/ELY-1500
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: Credentials
>    Affects Versions: 1.2.0.Beta12
>            Reporter: Martin Choma
>            Assignee: Jan Kalina
>            Priority: Critical
>             Fix For: 1.3.3.CR1
>
>
> Effectivelly Elytron contains infinite recursion implemented.
> {code:java|title=FactoryCredentialSource.java}
>     @Override
>     public SupportLevel getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws IOException {
>         return getCredentialAcquireSupport(credentialType, algorithmName, parameterSpec) != null ? SupportLevel.SUPPORTED : SupportLevel.UNSUPPORTED;
>     }
> {code}
> [1] https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=46596205&defectInstanceId=9782368&mergedDefectId=1464361



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list