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

Coverity analysis defect 117936: Uninitialized pointer field

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • Execution Team 2021-04-19

      Uninitialized pointer field

      The pointer field will point to an arbitrary memory location, any attempt to write may cause corruption. A pointer field is not initialized in the constructor
      /src/mongo/db/timeseries/bucket_catalog.h:520: UNINIT_CTOR 117936 Class member declaration for "_bucket".
      /src/mongo/db/timeseries/bucket_catalog.cpp:629: UNINIT_CTOR 117936 Non-static class member "_bucket" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: