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

Coverity analysis defect 116124: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Fully Compatible
    • ALL
    • Execution Team 2020-11-16

      Uninitialized scalar field

      The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
      /src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_radix_store.h:900: UNINIT_CTOR 116124 Class member declaration for "_nodeType".
      /src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_radix_store.h:839: UNINIT_CTOR 116124 Non-static class member "_nodeType" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: