[Bug 217879] couple of cppcheck findings

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 17 19:06:40 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217879

            Bug ID: 217879
           Summary: couple of cppcheck findings
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: chipitsine at gmail.com

Created attachment 180914
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180914&action=edit
patch related to this issue

cppcheck findings on UFS code (patch attached)

[sys/ufs/ffs/ffs_softdep.c:1133] -> [sys/ufs/ffs/ffs_softdep.c:1135]: (warning)
Either the condition 'wk==NULL' is redundant or there is possible null pointer
dereference: wk.
[sys/ufs/ffs/ffs_softdep.c:8383] -> [sys/ufs/ffs/ffs_softdep.c:8385]: (warning)
Either the condition 'wk==NULL' is redundant or there is possible null pointer
dereference: wk.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list