Coverity analysis defect 176613: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.26
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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_set_window_fields.cpp:126: USE_AFTER_MOVE 176613 "expCtx" is moved (indicated by "std::move(expCtx)").
      /src/mongo/db/pipeline/document_source_set_window_fields.cpp:126: USE_AFTER_MOVE 176613 Returning while reference parameter "expCtx" is in a moved state.

            Assignee:
            Joe Shalabi
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: