Coverity analysis defect 122987: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • QO 2022-08-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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/matcher/expression_parser.cpp:537: USE_AFTER_MOVE 122987 "elem" is moved (indicated by "std::move(elem)").
      /src/mongo/db/matcher/expression_parser.cpp:537: USE_AFTER_MOVE 122987 "elem" is used after it has been already moved.

            Assignee:
            Anton Korshunov
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: