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

Coverity analysis defect 144706: Uninitialized pointer field

    • Query Integration
    • Fully Compatible
    • ALL
    • v8.0

      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/index/s2_access_method.h:113: UNINIT_CTOR 144706 Class member declaration for "_collator".
      /src/mongo/db/index/s2_access_method.cpp:98: UNINIT_CTOR 144706 Non-static class member "_collator" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            naama.bareket@mongodb.com Naama Bareket
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: