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

Coverity analysis defect 134897: Uninitialized scalar field

    • Sharding EMEA
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-02-06, Sharding EMEA 2023-02-20

      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/transaction_resources.h:130: UNINIT_CTOR 134897 Class member declaration for "recoveryUnitState".
      /src/mongo/db/transaction_resources.cpp:36: UNINIT_CTOR 134897 Non-static class member "recoveryUnitState" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: