[Bug 218005] sys/netinet/sctp_pcb.c: PVS-Studio: Dead Code (CWE-561)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 22 13:21:09 UTC 2017


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

            Bug ID: 218005
           Summary: sys/netinet/sctp_pcb.c: PVS-Studio: Dead Code
                    (CWE-561)
           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: razmyslov at viva64.com

Created attachment 181054
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181054&action=edit
git patch

We have found and fixed a weakness using PVS-Studio tool. PVS-Studio is a
static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/

Analyzer warning: V779 Unreachable code detected. It is possible that an error
is present. sctp_pcb.c 183

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


More information about the freebsd-bugs mailing list