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

Coverity analysis defect 115245: Uninitialized scalar field

    • Fully Compatible
    • ALL
    • Sharding 2020-09-21

      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/s/start_chunk_clone_request.h:140: UNINIT_CTOR 115245 Class member declaration for "_txnNumber".
      /src/mongo/db/s/start_chunk_clone_request.cpp:61: UNINIT_CTOR 115245 Non-static class member "_txnNumber" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: