Update ZipSlipQuery.qll

This commit is contained in:
dilanbhalla
2023-10-19 12:24:39 -07:00
committed by GitHub
parent 6066e82071
commit 90b7fd52c0

View File

@@ -49,13 +49,6 @@
}
}
/**
* DEPRECATED: Use `Sanitizer` instead.
*
* A guard for unsafe zip extraction.
*/
abstract deprecated class SanitizerGuard extends DataFlow::BarrierGuard { }
/**
* DEPRECATED: Use `ZipSlip` instead.
*
@@ -69,10 +62,6 @@
override predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
override predicate isSanitizer(DataFlow::Node node) { node instanceof Sanitizer }
deprecated override predicate isSanitizerGuard(DataFlow::BarrierGuard guard) {
guard instanceof SanitizerGuard
}
}
/**
@@ -486,4 +475,4 @@
override predicate isSanitizer(DataFlow::Node node) { node instanceof Sanitizer }
}