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

            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: [email protected]
          Reporter: [email protected]

Created attachment 181098
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181098&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: V617 Consider inspecting the condition. The '0x00000080'
argument of the '|' bitwise operation contains a non-zero value.
mac_bsdextended.c 128

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to