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

Coverity analysis defect 166686: Using a moved object

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • 8.1 Required
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • ALL

      Using a moved object

      Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved.
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/util/future_test_valid.cpp:78: USE_AFTER_MOVE 166686 "fut" is moved (indicated by "std::move(fut)").
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/util/future_test_valid.cpp:79: USE_AFTER_MOVE 166686 "fut" is used after it has been already moved.

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: