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

Coverity analysis defect 150854: Using a moved object

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: 8.0.0-rc0
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • ALL
    • v8.0

      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/pipeline/document_source_merge.cpp:397: USE_AFTER_MOVE 150854 "batchObject" is moved (indicated by "std::move(batchObject)").
      /src/mongo/db/pipeline/document_source_merge.cpp:397: USE_AFTER_MOVE 150854 "batchObject" is used after it has been already moved.

            Assignee:
            projjal.chanda@mongodb.com Projjal Chanda
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: