Bug 217745 - sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c: PVS-Studio: Expression is Always True (CWE-571) (2)
Summary: sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c: PVS-Studio: Expression is Always ...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-03-13 11:59 UTC by Svyatoslav
Modified: 2017-03-13 12:39 UTC (History)
0 users

See Also:


Attachments
git patch (636 bytes, patch)
2017-03-13 11:59 UTC, Svyatoslav
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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