mirror of
https://github.com/github/codeql.git
synced 2026-03-04 14:46:48 +01:00
Make inputStreamWrapper consider supertypes transitively
This commit is contained in:
@@ -256,7 +256,7 @@ private class BulkData extends RefType {
|
||||
*/
|
||||
private predicate inputStreamWrapper(Constructor c, int argi) {
|
||||
c.getParameterType(argi) instanceof BulkData and
|
||||
c.getDeclaringType().getASourceSupertype().hasQualifiedName("java.io", "InputStream")
|
||||
c.getDeclaringType().getASourceSupertype*().hasQualifiedName("java.io", "InputStream")
|
||||
}
|
||||
|
||||
/** An object construction that preserves the data flow status of any of its arguments. */
|
||||
|
||||
Reference in New Issue
Block a user