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

Coverity analysis defect 134260: Uninitialized scalar field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • ALL

      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/query/plan_insert_listener.h:71: UNINIT_CTOR 134260 Class member declaration for "_lastEOFVersion".
      /src/mongo/db/query/plan_insert_listener.h:57: UNINIT_CTOR 134260 Non-static class member "_lastEOFVersion" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: