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

Coverity analysis defect 137900: Uninitialized scalar field

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Query Integration
    • Fully Compatible
    • ALL
    • QI 2023-05-15

    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/timeseries/bucket_unpacker.h:233: UNINIT_CTOR 137900 Class member declaration for "_closedBucket".
      /src/mongo/db/exec/timeseries/bucket_unpacker.cpp:455: UNINIT_CTOR 137900 Non-static class member "_closedBucket" is not initialized in this constructor nor in any functions that it calls.

      Attachments

        Activity

          People

            yoonsoo.kim@mongodb.com Yoon Soo Kim
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: