[jboss-jira] [JBoss JIRA] (ELY-1502) Coverity, Missing call to superclass in AbstractGssapiMechanism
Ilia Vassilev (JIRA)
issues at jboss.org
Thu Jan 25 17:02:00 EST 2018
Ilia Vassilev created ELY-1502:
----------------------------------
Summary: Coverity, Missing call to superclass in AbstractGssapiMechanism
Key: ELY-1502
URL: https://issues.jboss.org/browse/ELY-1502
Project: WildFly Elytron
Issue Type: Bug
Components: Authentication Mechanisms
Affects Versions: 1.2.0.Beta11
Reporter: Ilia Vassilev
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