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

Coverity analysis defect 134414: Dereference after null check

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • Fully Compatible
    • ALL
    • Service Arch 2023-07-24, Service Arch 2023-08-07

      Dereference after null check

      Either the check against null is unnecessary, or there may be a null pointer dereference. Pointer is checked against null but then dereferenced anyway
      /src/mongo/transport/asio_transport_layer.cpp:1598: FORWARD_NULL 134414 Calling "manager.operator bool()" implies that "manager" might be null-like.

            Assignee:
            jennifer.wang@mongodb.com Jennifer Wang (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: