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

Martin Choma (JIRA) issues at jboss.org
Thu Jan 25 09:26:00 EST 2018


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

Martin Choma updated ELY-1500:
------------------------------
    Description: 
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

  was:
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}



> 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
>            Priority: Critical
>
> 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