Coverity analysis defect 135067: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Service Arch
    • ALL
    • Service Arch 2023-02-20, Service Arch 2023-03-06
    • None
    • 3
    • 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.
      /build/7a67446c/mongo/db/modules/enterprise/src/search/text_search_index_commands_gen.cpp:1102: USE_AFTER_MOVE 135067 "nss" is moved (indicated by "std::move(nss)").
      /build/7a67446c/mongo/db/modules/enterprise/src/search/text_search_index_commands_gen.cpp:1102: USE_AFTER_MOVE 135067 "nss" is used after it has been already moved.

            Assignee:
            George Wangensteen (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: