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

Coverity analysis defect 116124: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Storage
    • Fully Compatible
    • ALL
    • Execution Team 2020-11-16

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: