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

Coverity analysis defect 115245: Uninitialized scalar field

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: