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

Coverity analysis defect 140786: Using a moved object

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

      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/db_raii.cpp:830: USE_AFTER_MOVE 140786 "options" is moved (indicated by "std::move(options)").
      /src/mongo/db/db_raii.cpp:848: USE_AFTER_MOVE 140786 "options" is used after it has been already moved.

            Assignee:
            mihai.andrei@mongodb.com Mihai Andrei
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: