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

Coverity analysis defect 134432: 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:3825: USE_AFTER_MOVE 134432 "convertedStepName" is moved (indicated by "std::move(convertedStepName)").
      /src/mongo/db/query/sbe_stage_builder_expression.cpp:3825: USE_AFTER_MOVE 134432 "convertedStepName" 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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: