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 5be9fbb commit b0f7453Copy full SHA for b0f7453
java/ql/src/experimental/Security/CWE/CWE-348/UseOfLessTrustedSource.ql
@@ -35,6 +35,12 @@ class UseOfLessTrustedSourceConfig extends TaintTracking::Configuration {
35
ma.getMethod() instanceof SplitMethod and
36
not aa.getIndexExpr().(CompileTimeConstantExpr).getIntValue() = 0
37
)
38
+ or
39
+ node.getType().hasName("Object")
40
41
+ node.getType() instanceof PrimitiveType
42
43
+ node.getType() instanceof BoxedType
44
}
45
46
0 commit comments