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 8001ae9 commit 27763d6Copy full SHA for 27763d6
java/ql/lib/semmle/code/java/security/ZipSlipQuery.qll
@@ -54,7 +54,10 @@ private class FileCreationSink extends DataFlow::Node {
54
*/
55
private predicate isPathCreation(DataFlow::Node sink) {
56
exists(PathCreation pc |
57
- pc.getAnInput() = sink.asExpr() and
+ pc.getAnInput() = sink.asExpr()
58
+ or
59
+ pc.getAnInput().(Argument).isVararg() and sink.(DataFlow::ImplicitVarargsArray).getCall() = pc
60
+ |
61
// exclude actual read/write operations included in `PathCreation`
62
not pc.(Call)
63
.getCallee()
0 commit comments