Coverity analysis defect 144706: Uninitialized pointer field

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • ALL
    • v8.0
    • None
    • 3
    • None
    • 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/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
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: