We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
getBytes
nextBytes
1 parent abe3a81 commit fe4eef0Copy full SHA for fe4eef0
java/ql/lib/semmle/code/java/security/RandomDataSource.qll
@@ -103,7 +103,7 @@ class StdlibRandomSource extends RandomDataSource {
103
}
104
105
override Expr getOutput() {
106
- if m.hasName("getBytes") then result = this.getArgument(0) else result = this
+ if m.hasName("nextBytes") then result = this.getArgument(0) else result = this
107
108
109
0 commit comments