Coverity analysis defect 176559: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Server Security
    • Fully Compatible
    • ALL
    • Server Security 2025-09-12
    • 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/crypto/fle_crypto.cpp:2548: USE_AFTER_MOVE 176559 "doc" is moved (indicated by "std::move(doc)").
      /src/mongo/crypto/fle_crypto.cpp:2548: USE_AFTER_MOVE 176559 Returning while reference parameter "doc" is in a moved state.

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

              Created:
              Updated:
              Resolved: