[logback-dev] [JIRA] (LOGBACK-1360) Long overflow in AbstractComponentTracker#isEntryStale()

QOS.CH (JIRA) noreply-jira at qos.ch
Fri Dec 8 16:14:00 CET 2017


miha created LOGBACK-1360:
-----------------------------

             Summary: Long overflow in AbstractComponentTracker#isEntryStale()
                 Key: LOGBACK-1360
                 URL: https://jira.qos.ch/browse/LOGBACK-1360
             Project: logback
          Issue Type: Bug
          Components: logback-core
    Affects Versions: 1.2.3
            Reporter: miha
            Assignee: Logback dev list
            Priority: Minor


Setting [timeout|https://logback.qos.ch/manual/appenders.html#siftTimeout] 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()|https://github.com/qos-ch/logback/blob/84c56aed88760b214d20edbe03852ddc90d68cc1/logback-core/src/main/java/ch/qos/logback/core/spi/AbstractComponentTracker.java#L219]



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the logback-dev mailing list