Skip to content

Commit 0a96867

Browse files
committed
Fix wrong method name
1 parent f8e474f commit 0a96867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/semmle/code/java/security/FileReadWrite.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ private predicate fileRead(VarAccess fileAccess, Expr fileReadingExpr) {
2424
fileAccess = ma.getArgument(0) and
2525
filesMethod
2626
.hasName(["readAllBytes", "readAllLines", "readString", "lines", "newBufferedReader",
27-
"newInputReader", "newByteChannel"])
27+
"newInputStream", "newByteChannel"])
2828
)
2929
)
3030
or

0 commit comments

Comments
 (0)