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

Coverity analysis defect 116380: Uninitialized scalar field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Catalog
    • Labels:
    • Operating System:
      ALL
    • Sprint:
      Execution Team 2020-10-19, Execution Team 2020-11-02

      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/catalog/collection.h:655: UNINIT_CTOR 116380 Class member declaration for "_catalogEpoch".
      /src/mongo/db/catalog/collection.cpp:84: UNINIT_CTOR 116380 Non-static class member "_catalogEpoch" is not initialized in this constructor nor in any functions that it calls.

        Attachments

          Activity

            People

            Assignee:
            henrik.edin Henrik Edin
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: