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

Coverity analysis defect 134442: Using a moved object

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2023-02-06

      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/sbe_stage_builder_expression.cpp:1477: USE_AFTER_MOVE 134442 "resultName" is moved (indicated by "std::move(resultName)").
      /src/mongo/db/query/sbe_stage_builder_expression.cpp:1477: USE_AFTER_MOVE 134442 "resultName" is used after it has been already moved.

            Assignee:
            alberto.massari@mongodb.com Alberto Massari
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: