Fix wrong method name

This commit is contained in:
Marcono1234
2020-07-05 18:43:02 +02:00
parent f8e474f89a
commit 0a9686709b

View File

@@ -24,7 +24,7 @@ private predicate fileRead(VarAccess fileAccess, Expr fileReadingExpr) {
fileAccess = ma.getArgument(0) and
filesMethod
.hasName(["readAllBytes", "readAllLines", "readString", "lines", "newBufferedReader",
"newInputReader", "newByteChannel"])
"newInputStream", "newByteChannel"])
)
)
or