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

Coverity analysis defect 133963: Unchecked return value

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-10-31

    Description

      Unchecked return value

      If the function returns an error value, the error value may be mistaken for a normal value. Value returned from a function is not checked for errors before being used.
      /src/mongo/db/global_index.cpp:281: CHECKED_RETURN 133963 Calling "getNext" without checking return value (as is done elsewhere 45 out of 48 times).

      Attachments

        Activity

          People

            yujin.kang@mongodb.com Yujin Kang Park
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: