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

Coverity analysis defect 134254: Using a moved object

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • ALL

    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/stats/scalar_histogram.cpp:97: USE_AFTER_MOVE 134254 "buckets" is moved (indicated by "std::move(buckets)").
      /src/mongo/db/query/stats/scalar_histogram.cpp:98: USE_AFTER_MOVE 134254 "buckets" is used after it has been already moved.

      Attachments

        Activity

          People

            alya.berciu@mongodb.com Alya Berciu
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: