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

Coverity analysis defect 123168: Using a moved object

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • QO 2022-09-05

    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/query/query_solution.cpp:634: USE_AFTER_MOVE 123168 "index" is moved (indicated by "std::move(index)").
      /src/mongo/db/query/query_solution.cpp:637: USE_AFTER_MOVE 123168 "index" is used after it has been already moved.

      Attachments

        Activity

          People

            militsa.sotirova@mongodb.com Militsa Sotirova
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: