Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2017 12:53:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 218039] sys/security/mac_bsdextended/mac_bsdextended.c: PVS-Studio: Expression is Always True (CWE-571)
Message-ID:  <bug-218039-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 218039
           Summary: sys/security/mac_bsdextended/mac_bsdextended.c:
                    PVS-Studio: Expression is Always True (CWE-571)
           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 181098
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181098&action=
=3Dedit
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-studi=
o/

Analyzer warning: V617 Consider inspecting the condition. The '0x00000080'
argument of the '|' bitwise operation contains a non-zero value.
mac_bsdextended.c 128

--=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-218039-8>