Bug 217745

Summary: sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c: PVS-Studio: Expression is Always True (CWE-571) (2)
Product: Base System Reporter: Svyatoslav <razmyslov>
Component: kernAssignee: freebsd-bugs mailing list <bugs>
Status: New ---    
Severity: Affects Many People Keywords: patch
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
git patch none

Description Svyatoslav 2017-03-13 11:59:44 UTC
Created attachment 180768 [details]
git patch

We have found and fixed a vulnerability 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: V560 A part of conditional expression is always true: 0x2002. sampirsp.c 7224