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

Coverity analysis defect 127654: 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:61: USE_AFTER_MOVE 127654 "bounds" is moved (indicated by "std::move(bounds)").
      /src/mongo/db/query/ce/scalar_histogram.cpp:62: USE_AFTER_MOVE 127654 "bounds" 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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: