Code cleanup from code review

This commit is contained in:
Jonathan Leitschuh
2022-03-11 11:43:08 -05:00
parent 1c9864286d
commit 50ff2c2c68
7 changed files with 18 additions and 7 deletions

View File

@@ -177,9 +177,7 @@ private class TempDirSystemGetPropertyDirectlyToMkdirConfig extends TaintTrackin
}
override predicate isSource(DataFlow::Node node) {
exists(
ExprSystemGetPropertyTempDirTainted propertyGetExpr, DataFlow::Node callSite
|
exists(ExprSystemGetPropertyTempDirTainted propertyGetExpr, DataFlow::Node callSite |
DataFlow::localFlow(DataFlow::exprNode(propertyGetExpr), callSite)
|
isFileConstructorArgument(callSite.asExpr(), node.asExpr(), 1)