Coverity analysis defect 183596: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Uninitialized scalar field

      The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
      /data/mci/9a5d39b3c7a959630415deb99961c371/bazel_cache/775034ed41612b7867fe8d0e40cbc54c/execroot/_main/src/mongo/idl/idl_parser.h:226: UNINIT_CTOR 183596 Class member declaration for "_hasField".
      /data/mci/9a5d39b3c7a959630415deb99961c371/bazel_cache/775034ed41612b7867fe8d0e40cbc54c/execroot/_main/bazel-out/k8-fastbuild/bin/src/mongo/db/modules/enterprise/src/streams/exec/checkpoint_data_gen.cpp:6605: UNINIT_CTOR 183596 Non-static class member "_hasMembers._hasField" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            Ronald Steinke
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: