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

Coverity analysis defect 117857: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Query Execution 2021-04-05

    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/plan_stats.h:778: UNINIT_CTOR 117857 Class member declaration for "docsRejected".
      /src/mongo/db/exec/plan_stats.h:757: UNINIT_CTOR 117857 Non-static class member "docsRejected" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Activity

          People

            anton.korshunov@mongodb.com Anton Korshunov
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: