Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1360

Long overflow in AbstractComponentTracker#isEntryStale()

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: logback-core
    • Labels:
      None

      Description

      Setting timeout in configuration to a value greater than (Long.MAX - entry.timestamp)
      leads to incorrect behavior of configured SiftingAppender due to eventual long overflow in AbstractComponentTracker#isEntryStale()

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              miha miha
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: