Check return value of time library functions in time_support.cpp

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 7.2.0-rc0
    • Affects Version/s: 2.5.3
    • Component/s: Internal Code
    • Service Arch
    • Fully Compatible
    • ALL
    • Service Arch 2023-09-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In https://github.com/mongodb/mongo/blob/r2.5.2/src/mongo/util/time_support.cpp#L171 we do not check the return value of many time related library functions, meaning that they currently can fail silently.

              Assignee:
              Erin McNulty
              Reporter:
              Shaun Verch (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: