Bug 218004 - sys/dev/sfxge/common/efx_mcdi.c: PVS-Studio: Unreachable code detected (CWE-561)
Summary: sys/dev/sfxge/common/efx_mcdi.c: PVS-Studio: Unreachable code detected (CWE-561)
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-net mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-03-22 13:15 UTC by Svyatoslav
Modified: 2017-03-23 21:50 UTC (History)
0 users

See Also:


Attachments
git patch (459 bytes, patch)
2017-03-22 13:15 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-22 13:15:35 UTC
Created attachment 181053 [details]
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: V779 Unreachable code detected. It is possible that an error is present. efx_mcdi.c 910