Coverity analysis defect 123212: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • QE 2022-10-17
    • 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/s/chunk_manager_targeter.cpp:597: USE_AFTER_MOVE 123212 "shardId" is moved (indicated by "std::move(shardId)").
      /src/mongo/s/chunk_manager_targeter.cpp:597: USE_AFTER_MOVE 123212 "shardId" is used after it has been already moved.

            Assignee:
            Kyle Suarez (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: