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

Check return value of time library functions in time_support.cpp

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 7.2.0-rc0
    • 2.5.3
    • Internal Code
    • Service Arch
    • Fully Compatible
    • ALL
    • Service Arch 2023-09-18

    Description

      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.

      Attachments

        Activity

          People

            erin.mcnulty@mongodb.com Erin McNulty
            sverch Shaun Verch
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: