Coverity analysis defect 184210: Dereference null return value

XMLWordPrintableJSON

    • Storage Engines
    • None
    • None

      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
      /ext/test/key_provider/key_provider.c:181: NULL_RETURNS 184210 "localtime" returns "NULL".
      /ext/test/key_provider/key_provider.c:181: NULL_RETURNS 184210 Assigning: "tm_info" = "NULL" return value from "localtime".
      /ext/test/key_provider/key_provider.c:182: NULL_RETURNS 184210 Passing null pointer "tm_info" to "strftime", which dereferences it.

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

              Created:
              Updated:
              Resolved: