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

Coverity analysis defect 72759: Unchecked return value

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Networking
    • Fully Compatible
    • ALL
    • Platforms 17 (07/15/16)

    Description

      Value returned from a function is not checked for errors before being used

      Defect 72759 (STATIC_C)
      Checker CHECKED_RETURN (subcategory none)
      File: /src/mongo/executor/network_interface_impl.cpp
      Function mongo::executor::NetworkInterfaceImpl::waitForWorkUntil(mongo::Date_t)
      /src/mongo/executor/network_interface_impl.cpp, line: 162
      Calling "wait_for" without checking return value (as is done elsewhere 7 out of 13 times).

                      _isExecutorRunnableCondition.wait_for(lk, waitTime);
      

      Attachments

        Activity

          People

            waley.chen Waley Chen
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: