From 57ac636d60830495ef45c8e8e8dc78bc3a2418db Mon Sep 17 00:00:00 2001 From: Slavomir Date: Tue, 7 Apr 2020 17:17:49 +0300 Subject: [PATCH] Change alert message --- ql/src/Security/CWE-681/IncorrectNumericConversion.ql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/src/Security/CWE-681/IncorrectNumericConversion.ql b/ql/src/Security/CWE-681/IncorrectNumericConversion.ql index 129e6a60c5e..7d0693c94f2 100644 --- a/ql/src/Security/CWE-681/IncorrectNumericConversion.ql +++ b/ql/src/Security/CWE-681/IncorrectNumericConversion.ql @@ -285,5 +285,5 @@ where exists(Lte16FlowConfig cfg | cfg.hasFlowPath(source, sink)) select source, source, sink, "Incorrect type conversion of " + source.getNode().getType() + " from " + - getParserQualifiedNameFromResultType(source.getNode().getType().toString()) + " result to " + + getParserQualifiedNameFromResultType(source.getNode().getType().toString()) + " result to a lower bit size type " + sink.getNode().asExpr().(Lte32BitNumericConversionExpr).getTypeName()