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

Coverity analysis defect 122778: Using a moved object

    • Minor Change
    • ALL
    • 1

      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/db/session/session_catalog.h:160: USE_AFTER_MOVE 122778 "lsid" is moved (indicated by "std::move(lsid)").
      /src/mongo/db/session/session_catalog.h:162: USE_AFTER_MOVE 122778 "lsid" is used after it has been already moved.

            Assignee:
            wenqin.ye@mongodb.com Wenqin Ye
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: