Skip to content

Commit 84fd5f7

Browse files
committed
Fix naming of ZipSlip configuration
1 parent 60a4a79 commit 84fd5f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/src/Security/CWE/CWE-022/ZipSlip.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ArchiveEntryNameMethod extends Method {
3434
}
3535
}
3636

37-
module ZipSlipConfiguration implements DataFlow::ConfigSig {
37+
module ZipSlipConfig implements DataFlow::ConfigSig {
3838
predicate isSource(DataFlow::Node source) {
3939
source.asExpr().(MethodAccess).getMethod() instanceof ArchiveEntryNameMethod
4040
}
@@ -44,7 +44,7 @@ module ZipSlipConfiguration implements DataFlow::ConfigSig {
4444
predicate isBarrier(DataFlow::Node node) { node instanceof PathInjectionSanitizer }
4545
}
4646

47-
module ZipSlipFlow = TaintTracking::Make<ZipSlipConfiguration>;
47+
module ZipSlipFlow = TaintTracking::Make<ZipSlipConfig>;
4848

4949
import ZipSlipFlow::PathGraph
5050

0 commit comments

Comments
 (0)