Coverity analysis defect 176635: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • 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/s/resharding/resharding_collection_cloner.cpp:94: USE_AFTER_MOVE 176635 "sourceUUID" is moved (indicated by "std::move(sourceUUID)").
      /src/mongo/db/s/resharding/resharding_collection_cloner.cpp:97: USE_AFTER_MOVE 176635 Returning while reference parameter "sourceUUID" is in a moved state.

            Assignee:
            Brett Nawrocki
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: