Coverity analysis defect 202221: Dereference of potentially null field

XMLWordPrintableJSON

    • 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/evict/evict_conn.c:488: NULL_FIELD 202221 Reading field "evict", which is expected to possibly be "NULL" in "conn->evict" (checked 4 out of 85 times).
      /src/evict/evict_conn.c:488: NULL_FIELD 202221 Assigning: "evict" = "conn->evict".
      /src/evict/evict_conn.c:491: NULL_FIELD 202221 Dereferencing "evict", which is known to be "NULL".

            Assignee:
            Unassigned
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: