This commit is contained in:
Michael Hohn
2020-07-23 10:42:47 -07:00
committed by =Michael Hohn
parent 77fefdf78d
commit 9d130f1466

View File

@@ -34,8 +34,7 @@ class SqliFlowConfig extends TaintTracking::Configuration {
exists(FunctionCall printf |
printf.getTarget().getName().matches("%snprintf%") and
printf.getArgument(0) = out.(DataFlow::PostUpdateNode).getPreUpdateNode().asExpr() and
// very specific: shifted index for macro. We can generalize this to consider
// all trailing arguments as sources.
// very specific: shifted index for macro.
printf.getArgument(6) = into.asExpr()
)
}