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

Coverity analysis defect 134014: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL

    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/exec/scoped_timer.h:62: UNINIT_CTOR 134014 Class member declaration for "_startTS".
      /src/mongo/db/exec/scoped_timer.cpp:39: UNINIT_CTOR 134014 Non-static class member "_startTS" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Activity

          People

            ruoxin.xu@mongodb.com Ruoxin Xu
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: