Coverity analysis defect 175782: Dereference null return value

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - 2025-09-26
    • 1

      Dereference null return value

      If the function actually returns a null value, a null pointer dereference will occur. Return value of function which returns null is dereferenced without checking
      /bench/dhandle/bench_dhandle.c:611: NULL_RETURNS 175782 "realloc" returns "NULL".
      /bench/dhandle/bench_dhandle.c:611: NULL_RETURNS 175782 Assigning: "table_numbers" = "NULL" return value from "realloc".
      /bench/dhandle/bench_dhandle.c:613: NULL_RETURNS 175782 Dereferencing "table_numbers", which is known to be "NULL".

            Assignee:
            Donald Anderson
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: