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

Coverity analysis defect 155647: Uninitialized scalar variable

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • ALL
    • v8.0
    • Programmability 2024-05-27

      Uninitialized scalar variable

      The variable will contain an arbitrary value left from earlier computations. Use of an uninitialized variable
      /build/7a67446c/mongo/db/commands/bulk_write_gen.cpp:4033: UNINIT 155647 Declaring variable "_tmp".
      /build/7a67446c/mongo/db/commands/bulk_write_gen.cpp:4071: UNINIT 155647 Using uninitialized value "_tmp". Field "_tmp._M_u" is uninitialized when calling "emplace_back". [Note: The source code implementation of the function has been overridden by a builtin model.]

            Assignee:
            alex.li@mongodb.com Alex Li
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: