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

Coverity analysis defect 121924: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Sharding NYC 2022-04-04, Sharding NYC 2022-04-18

      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/s/commands/cluster_write_cmd.h:127: UNINIT_CTOR 121924 Class member declaration for "_bypass".
      /src/mongo/s/commands/cluster_write_cmd.h:81: UNINIT_CTOR 121924 Non-static class member "_bypass" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: