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

Coverity analysis defect 114956: Uninitialized scalar field

    • Fully Compatible
    • ALL
    • Service arch 2020-11-30

      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/util/net/sock.h:230: UNINIT_CTOR 114956 Class member declaration for "_fdCreationMicroSec".
      /src/mongo/util/net/sock.cpp:241: UNINIT_CTOR 114956 Non-static class member "_fdCreationMicroSec" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: