Skip to content

Commit fe4eef0

Browse files
committed
Fix typo, replace getBytes with nextBytes
1 parent abe3a81 commit fe4eef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/security/RandomDataSource.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class StdlibRandomSource extends RandomDataSource {
103103
}
104104

105105
override Expr getOutput() {
106-
if m.hasName("getBytes") then result = this.getArgument(0) else result = this
106+
if m.hasName("nextBytes") then result = this.getArgument(0) else result = this
107107
}
108108
}
109109

0 commit comments

Comments
 (0)