Skip to content

Commit ffa8e04

Browse files
committed
formatting
1 parent 7b0492b commit ffa8e04

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

cpp/src/security/UnsafeImplicitConversions/UnsafeImplicitConversions.ql

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,12 @@ where
323323
or
324324
addressIsTaken(cast.getEnclosingFunction())
325325
)
326-
// Uncomment to report conversions with untrusted inputs only
327-
/*
328-
and exists(DataFlow::Node source, DataFlow::Node sink |
329-
cast.getExpr() = sink.asExpr() and
330-
UnsafeUserInputConversionFlow::flow(source, sink)
331-
)
332-
*/
326+
// Uncomment to report conversions with untrusted inputs only
327+
/*
328+
* and exists(DataFlow::Node source, DataFlow::Node sink |
329+
* cast.getExpr() = sink.asExpr() and
330+
* UnsafeUserInputConversionFlow::flow(source, sink)
331+
* )
332+
*/
333+
333334
select cast, "Implicit cast from " + fromType + " to " + toType + " (" + problemType + ")"

0 commit comments

Comments
 (0)