From fe4eef0bcb64f76b0ca73d39c8409071f40c012e Mon Sep 17 00:00:00 2001 From: Ed Minnix Date: Mon, 7 Aug 2023 00:16:47 -0400 Subject: [PATCH] Fix typo, replace `getBytes` with `nextBytes` --- java/ql/lib/semmle/code/java/security/RandomDataSource.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }