Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1862

Fix infinite loop in SecurityEventVisitor#handleSyslogAuditEvent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 1.10.0.CR6, 2.0.0.Alpha5
    • None
    • None
    • None

    Description

      Found during QE's coverity scan:

      *** 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
      

      Attachments

        Activity

          People

            aabdelsa Ashley Abdel-Sayed (Inactive)
            fjuma1@redhat.com Farah Juma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: