Skip to content

Commit 0593eaa

Browse files
committed
we don't need ConstructorCall for ZipFile anymore since we have a more accurate sink for this
1 parent cc75211 commit 0593eaa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

java/ql/src/experimental/semmle/code/java/security/DecompressionBomb.qll

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,6 @@ module Zip {
378378
call.getCallee().hasName("getInputStream") and
379379
call.getQualifier() = this.asExpr()
380380
)
381-
or
382-
exists(ConstructorCall call |
383-
call.getConstructedType() instanceof TypeZipFile and
384-
call.getAnArgument() = this.asExpr()
385-
)
386381
}
387382
}
388383

0 commit comments

Comments
 (0)