mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Python: Remove spurious results in stdlib
This commit is contained in:
@@ -379,6 +379,10 @@ module BombsConfig implements DataFlow::ConfigSig {
|
||||
|
||||
predicate isSink(DataFlow::Node sink) { sink instanceof DecompressionBomb::Sink }
|
||||
|
||||
predicate isBarrierIn(DataFlow::Node node) {
|
||||
node.getScope().getEnclosingModule().getName() in ["tarfile", "zipfile"]
|
||||
}
|
||||
|
||||
predicate isAdditionalFlowStep(DataFlow::Node pred, DataFlow::Node succ) {
|
||||
(
|
||||
any(DecompressionBomb::AdditionalTaintStep a).isAdditionalTaintStep(pred, succ) or
|
||||
|
||||
Reference in New Issue
Block a user