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

Coverity analysis defect 120093: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • Execution Team 2021-06-28

      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/wiredtiger/wiredtiger_global_options.h:54: UNINIT_CTOR 120093 Class member declaration for "zstdCompressorLevel".
      /src/mongo/db/storage/wiredtiger/wiredtiger_global_options.h:47: UNINIT_CTOR 120093 Non-static class member "zstdCompressorLevel" 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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: