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

Coverity analysis defect 30204: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • Fully Compatible
    • ALL
    • Execution Team 2020-09-07

      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/storage_options.h:125: UNINIT_CTOR 30204 Class member declaration for "disableLockFreeReads".
      /src/mongo/db/storage/storage_options.cpp:41: UNINIT_CTOR 30204 Non-static class member "disableLockFreeReads" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: