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

uassert in IDHackStage if on failure to restore the underlying storage cursor

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible

      Description

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

      Defect 73041 (STATIC_C)
      Checker CHECKED_RETURN (subcategory none)
      File: /src/mongo/db/exec/idhack.cpp
      Function mongo::IDHackStage::doRestoreState()
      /src/mongo/db/exec/idhack.cpp, line: 209
      Calling "restore" without checking return value (as is done elsewhere 7 out of 13 times).

                  _recordCursor->restore();
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-execution Backlog - Query Execution
              Reporter:
              xgen-internal-coverity Coverity Collector User
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: