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

Coverity analysis defect 171612: Uninitialized pointer field

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Networking & Observability
    • ALL
    • N&O 2025-03-31, N&O 2025-04-14
    • 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
      /data/mci/8df2c396557fb87fa29efdf21060b868/bazel_cache/18545ad5d47fdc81034b726533d3cf62/execroot/_main_/src/mongo/executor/pooled_async_client_factory.h:172: UNINIT_CTOR 171612 Class member declaration for "_tl".
      /data/mci/8df2c396557fb87fa29efdf21060b868/bazel_cache/18545ad5d47fdc81034b726533d3cf62/execroot/_main_/src/mongo/executor/pooled_async_client_factory.h:60: UNINIT_CTOR 171612 Non-static class member "_tl" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            michael.popov@mongodb.com Michael Popov
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None