diff --git a/java/ql/lib/semmle/code/java/security/RandomDataSource.qll b/java/ql/lib/semmle/code/java/security/RandomDataSource.qll index e52c6a3b7eb..29c980beb5f 100644 --- a/java/ql/lib/semmle/code/java/security/RandomDataSource.qll +++ b/java/ql/lib/semmle/code/java/security/RandomDataSource.qll @@ -103,7 +103,7 @@ class StdlibRandomSource extends RandomDataSource { } override Expr getOutput() { - if m.hasName("getBytes") then result = this.getArgument(0) else result = this + if m.hasName("nextBytes") then result = this.getArgument(0) else result = this } }