Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c45b67c commit 5e14d89Copy full SHA for 5e14d89
1 file changed
python/ql/src/experimental/semmle/python/security/ZipSlip.qll
@@ -6,7 +6,7 @@ import semmle.python.dataflow.new.TaintTracking
6
class ZipSlipConfig extends TaintTracking::Configuration {
7
ZipSlipConfig() { this = "ZipSlipConfig" }
8
9
- override predicate isSource(DataFlow::Node source) { source = any(OpenFile openfile).getAPathArgument() }
+ override predicate isSource(DataFlow::Node source) { source = any(CopyFile copyfile).getAPathArgument() }
10
11
override predicate isSink(DataFlow::Node sink) { sink = any(ZipFile zipfile).getAnInput() }
12
}
0 commit comments