Coverity analysis defect 202130: Dereference of potentially null field

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • None
    • None

      Dereference of potentially null field

      If the field is actually null, then a null pointer dereference will occur. Field, which is statistically checked against null, is dereferenced.
      /src/conn/conn_layered.c:1766: NULL_FIELD 202130 Reading field "config_entries", which is expected to possibly be "NULL" in "((WT_CONNECTION_IMPL *)((WT_SESSION_IMPL *)session)>iface.connection)>config_entries" (checked 1 out of 109 times).
      /src/conn/conn_layered.c:1766: NULL_FIELD 202130 Dereferencing "((WT_CONNECTION_IMPL *)((WT_SESSION_IMPL *)session)>iface.connection)>config_entries", which is known to be "NULL".

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: