[jboss-jira] [JBoss JIRA] (ELY-1479) Coverity, Missing call to superclass in AbstractGssapiMechanism
Ilia Vassilev (JIRA)
issues at jboss.org
Mon Jan 8 09:24:01 EST 2018
[ https://issues.jboss.org/browse/ELY-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilia Vassilev reassigned ELY-1479:
----------------------------------
Assignee: Ilia Vassilev
> Coverity, Missing call to superclass in AbstractGssapiMechanism
> ---------------------------------------------------------------
>
> Key: ELY-1479
> URL: https://issues.jboss.org/browse/ELY-1479
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Authentication Mechanisms
> Affects Versions: 1.2.0.Beta11
> Reporter: Martin Choma
> Assignee: Ilia Vassilev
>
> super.getNegotiatedProperty() is not called in AbstractGssapiMechanism#getNegotiatedProperty, although it is called in similar cases in Gs2SaslServer, DigestSaslServer, AnonymousSaslClient.
> {code:java|title=AbstractGssapiMechanism.java}
> @Override
> public Object getNegotiatedProperty(String propName) {
> assertComplete();
> switch (propName) {
> case Sasl.QOP:
> return selectedQop.getName();
> case Sasl.MAX_BUFFER:
> return Integer.toString(actualMaxReceiveBuffer != 0 ? actualMaxReceiveBuffer : configuredMaxReceiveBuffer);
> case Sasl.RAW_SEND_SIZE:
> return Integer.toString(maxBuffer);
> }
> return null;
> }
> {code}
> This coverity report is not caused by recent change in AbstractGssapiMechanism but rather Gs2SaslServer and DigestSaslServer
> [1] https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=44847684&defectInstanceId=9457508&mergedDefectId=1463150
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list