Coverity analysis defect 183873: 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/btree/bt_page.c:1316: NULL_FIELD 183873 Reading field "cache", which is expected to possibly be "NULL" in "conn->cache" (checked 6 out of 71 times).
      /src/btree/bt_page.c:1316: NULL_FIELD 183873 Assigning: "cache" = "conn->cache".
      /src/btree/bt_page.c:1399: NULL_FIELD 183873 Dereferencing "cache", 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: