Coverity Quality Issue 184425: Dereference null return value

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Networking & Observability
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Coverity found a Quality issue: Dereference null return value

      Details:

      Coverity Issue ID: 184425
      Issue Description: Return value of function which returns null is dereferenced without checking
      Potential Impact: If the function actually returns a null value, a null pointer dereference will occur.
      Coverity checker: NULL_RETURNS
      Branch: master
      File path: /src/mongo/db/ftdc/ftdc_system_stats_linux.cpp
      Line number: Unknown

      What Coverity Detected (Main Finding)

      Dereferencing "this->_gstrings", which is known to be "nullptr".

      The issue can be viewed in Coverity here.

      How do I fix this?

      Refer to https://wiki.corp.mongodb.com/spaces/HGTC/pages/385852267/Guidance+on+fixing+Coverity+issues for guidance on fixing Coverity issues.

            Assignee:
            Unassigned
            Reporter:
            kondukto-svc@mongodb.com
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: