mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Java: Allow taint-read-steps for array sources.
This commit is contained in:
@@ -655,6 +655,8 @@ private SrcRefType entrypointType() {
|
||||
)
|
||||
or
|
||||
result = entrypointType().getAField().getType().(RefType).getSourceDeclaration()
|
||||
or
|
||||
result = entrypointType().(Array).getElementType().(RefType).getSourceDeclaration()
|
||||
}
|
||||
|
||||
private predicate entrypointFieldStep(DataFlow::Node src, DataFlow::Node sink) {
|
||||
|
||||
Reference in New Issue
Block a user