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

Coverity analysis defect 127653: Using a moved object

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • QO 2022-10-03, QE 2022-10-17, QE 2022-10-31, QE 2022-11-14, QE 2022-11-28, QE 2022-12-12

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

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: