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

Coverity analysis defect 138235: Uninitialized pointer field

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Atlas Streams
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Uninitialized pointer field

      The pointer field will point to an arbitrary memory location, any attempt to write may cause corruption. A pointer field is not initialized in the constructor
      /src/mongo/db/modules/enterprise/src/streams/exec/change_stream_source_operator.h:35: UNINIT_CTOR 138235 Class member declaration for "svcCtx".
      /src/mongo/db/modules/enterprise/src/streams/exec/change_stream_source_operator.h:30: UNINIT_CTOR 138235 Non-static class member "svcCtx" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            Unassigned Unassigned
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: