We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b2de2 commit a1e9564Copy full SHA for a1e9564
java/ql/lib/semmle/code/java/security/RandomDataSource.qll
@@ -160,7 +160,9 @@ class ApacheCommonsRandomStringSource extends RandomDataSource {
160
ApacheCommonsRandomStringSource() {
161
exists(Method m | m = this.getMethod() |
162
m.getName().matches("random%") and
163
- m.getDeclaringType().hasQualifiedName("org.apache.commons.lang3", "RandomStringUtils")
+ m.getDeclaringType()
164
+ .hasQualifiedName(["org.apache.commons.lang3", "org.apache.commons.lang"],
165
+ "RandomStringUtils")
166
)
167
}
168
0 commit comments