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

Coverity analysis defect 135067: Using a moved object

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Service Arch
    • ALL
    • Service Arch 2023-02-20, Service Arch 2023-03-06

      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@mongodb.com George Wangensteen
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: