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

Coverity analysis defect 122654: Using a moved object

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • QE 2022-09-19

    Description

      Using a moved object

      Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved.
      /src/mongo/db/exec/sbe/stages/collection_helpers.cpp:47: USE_AFTER_MOVE 122654 "collPtr" is moved (indicated by "std::move(collPtr)").
      /src/mongo/db/exec/sbe/stages/collection_helpers.cpp:47: USE_AFTER_MOVE 122654 "collPtr" is used after it has been already moved.

      Attachments

        Activity

          People

            will.buerger@mongodb.com Will Buerger
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: