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

Coverity analysis defect 123168: Using a moved object

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • QO 2022-09-05

      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.

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

              Created:
              Updated:
              Resolved: