Coverity analysis defect 115738: Uninitialized pointer field

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Query 2020-09-21
    • 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/exec/sbe/stages/text_match.h:86: UNINIT_CTOR 115738 Class member declaration for "_inValueAccessor".
      /src/mongo/db/exec/sbe/stages/text_match.h:57: UNINIT_CTOR 115738 Non-static class member "_inValueAccessor" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            David Storch
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: