mirror of
https://github.com/github/codeql.git
synced 2026-03-01 05:13:41 +01:00
Drop taint tracking for Arrays.{setAll, parallelSetAll, parallelPrefix}
This commit is contained in:
@@ -204,7 +204,7 @@ private predicate taintPreservingArgToArg(Method method, int input, int output)
|
||||
or
|
||||
method.getDeclaringType().hasQualifiedName("java.util", "Arrays") and
|
||||
(
|
||||
method.hasName(["fill", "parallelPrefix", "parallelSetAll", "setAll"]) and
|
||||
method.hasName("fill") and
|
||||
output = 0 and
|
||||
input = method.getNumberOfParameters() - 1
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user