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

Coverity analysis defect 115738: Uninitialized pointer field

    • Fully Compatible
    • ALL
    • Query 2020-09-21

      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@mongodb.com David Storch
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: