File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
cpp/src/security/UnsafeImplicitConversions Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff 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+
333334select cast , "Implicit cast from " + fromType + " to " + toType + " (" + problemType + ")"
You can’t perform that action at this time.
0 commit comments