Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2017 11:37:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217739] PVS-Studio:  V517
Message-ID:  <bug-217739-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217739

            Bug ID: 217739
           Summary: PVS-Studio:  V517
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: razmyslov@viva64.com

Created attachment 180764
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180764&action=
=3Dedit
git patch

We have found and fixed a bug 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: V517 The use of 'if (A) {...} else if (A) {...}' pattern =
was
detected. There is a probability of logical error presence. Check lines: 10=
2,
109. dtrace_debug.c 102

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217739-8>