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

Coverity analysis defect 138074: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • 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/record_id.h:519: UNINIT_CTOR 138074 Class member declaration for "_data".
      /src/mongo/db/repl/oplog.h:67: UNINIT_CTOR 138074 Non-static class member "recordId._data" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: