Skip to content

Commit 2c41c5b

Browse files
committed
Make inputStreamWrapper consider supertypes transitively
1 parent 3d5c815 commit 2c41c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/dataflow/internal/TaintTrackingUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private class BulkData extends RefType {
256256
*/
257257
private predicate inputStreamWrapper(Constructor c, int argi) {
258258
c.getParameterType(argi) instanceof BulkData and
259-
c.getDeclaringType().getASourceSupertype().hasQualifiedName("java.io", "InputStream")
259+
c.getDeclaringType().getASourceSupertype*().hasQualifiedName("java.io", "InputStream")
260260
}
261261

262262
/** An object construction that preserves the data flow status of any of its arguments. */

0 commit comments

Comments
 (0)