[jboss-jira] [JBoss JIRA] (ELY-1862) Fix infinite loop in SecurityEventVisitor#handleSyslogAuditEvent

Farah Juma (Jira) issues at jboss.org
Mon Aug 26 11:37:00 EDT 2019


Farah Juma created ELY-1862:
-------------------------------

             Summary: Fix infinite loop in SecurityEventVisitor#handleSyslogAuditEvent
                 Key: ELY-1862
                 URL: https://issues.jboss.org/browse/ELY-1862
             Project: WildFly Elytron
          Issue Type: Bug
            Reporter: Farah Juma
            Assignee: Farah Juma
             Fix For: 1.10.0.CR6


Found during QE's coverity scan:

{code}
*** CID 1485949:  SpotBugs: Correctness  (FB.IL_INFINITE_RECURSIVE_LOOP)
/auth/server/base/src/main/java/org/wildfly/security/auth/server/event/SecurityEventVisitor.java:
129 in org.wildfly.security.auth.server.event.SecurityEventVisitor.handleSyslogAuditEvent(org.wildfly.security.auth.server.event.SyslogAuditEvent,
java.lang.Object)()
123          *
124          * @param event the security event
125          * @param param the visitor parameter
126          * @return the visitor return value
127          */
128         public R handleSyslogAuditEvent(final SyslogAuditEvent
event, final P param) {
>>>     CID 1485949:  SpotBugs: Correctness  (FB.IL_INFINITE_RECURSIVE_LOOP)
>>>     There is an apparent infinite recursive loop.
129             return handleSyslogAuditEvent(event, param);
130         }
131
{code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list