Coverity analysis defect 202338: Dereference of potentially null field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines - Transactions
    • SE Transactions - 2026-03-13
    • 1

      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:116: NULL_FIELD 202338 Reading field "data", which is expected to possibly be "NULL" in "s[i].unpack->delta_key.data" (checked 2 out of 25 times).

            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: