integerOverflow: Separate id for conditional integer overflows
This commit is contained in:
parent
dea662891a
commit
85d8bbacb8
|
@ -195,7 +195,7 @@ void CheckType::integerOverflowError(const Token *tok, const ValueFlow::Value &v
|
|||
|
||||
reportError(getErrorPath(tok, &value, "Integer overflow"),
|
||||
value.errorSeverity() ? Severity::error : Severity::warning,
|
||||
"integerOverflow",
|
||||
(value.condition == nullptr) ? "integerOverflow" : "integerOverflowCond",
|
||||
msg,
|
||||
CWE190,
|
||||
value.isInconclusive());
|
||||
|
|
Loading…
Reference in New Issue