Skip to content

Commit 1d90d8c

Browse files
committed
fix select message
1 parent 33c05e6 commit 1d90d8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/src/security/UnsafeImplicitConversions/UnsafeImplicitConversions.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,4 +327,5 @@ where
327327
castExpr = sink.getNode().asExpr() and
328328
UserInputToImplicitConversionConfigFlow::flowPath(source, sink)
329329
select sink.getNode(), source, sink,
330-
"Implicit cast from " + fromType + " to " + toType + " (" + problemType + ")"
330+
"Implicit cast from " + fromType + " to " + toType + " (" + problemType + ") in $@", castExpr,
331+
castExpr.toString()

0 commit comments

Comments
 (0)