Coverity analysis defect 121924: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: