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

Check return value of time library functions in time_support.cpp

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 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

      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@mongodb.com Erin McNulty
            Reporter:
            sverch Shaun Verch
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: