Created attachment 180769 [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: 0x7dac. t4_main.c 8001
A commit references this bug: Author: np Date: Mon Mar 13 17:16:29 UTC 2017 New revision: 315201 URL: https://svnweb.freebsd.org/changeset/base/315201 Log: cxgbe(4): Fix an always-true assertion (reported by PVS-Studio). sys/dev/cxgbe/t4_main.c: PVS-Studio: Expression is Always True (CWE-571) (3) PR: 217746 Submitted by: Svyatoslav (razmyslov at viva64 com) MFC after: 1 week Changes: head/sys/dev/cxgbe/t4_main.c