Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-43771

Make v4.0's ClockSource::waitForConditionUntil avoid conversion of Date_t::max() to system time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.14
    • Component/s: Internal Code, Security
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Security 2019-10-21
    • Case:
    • Linked BF Score:
      41

      Description

      When ClockSource::waitForConditionUntil is asked to wait for the foreseeable future, it may be passed a deadline of Date_t::max(). A conversion from this Date_t to a time point in the system clock, may result in an integer overflow which throws a DurationOverflow exception. 4.2 and above detect and gracefully handle the Date_t::max() deadline. 4.0 should as well.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: