Coverity analysis defect 135887: Uninitialized pointer field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Sharding EMEA
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-04-03, Sharding EMEA 2023-04-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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/catalog_raii.h:491: UNINIT_CTOR 135887 Class member declaration for "_acquisition".
      /src/mongo/db/catalog_raii.cpp:601: UNINIT_CTOR 135887 Non-static class member "_acquisition" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: