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

Coverity analysis defect 122779: Using a moved object

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • QO 2022-09-19

    Description

      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/query/optimizer/node.cpp:560: USE_AFTER_MOVE 122779 "children" is moved (indicated by "std::move(children)").
      /src/mongo/db/query/optimizer/node.cpp:560: USE_AFTER_MOVE 122779 "children" is used after it has been already moved.

      Attachments

        Activity

          People

            anton.korshunov@mongodb.com Anton Korshunov
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: