Coverity analysis defect 175973: Dereference before null check

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Persistence
    • None
    • None

      Dereference before null check

      There may be a null pointer dereference, or else the comparison against null is unnecessary. All paths that lead to this null pointer comparison already dereference the pointer earlier
      /src/conn/conn_layered.c:1125: REVERSE_INULL 175973 Directly dereferencing pointer "dir".
      /src/conn/conn_layered.c:1159: REVERSE_INULL 175973 Null-checking "dir" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

            Assignee:
            Yury Ershov
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: