mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
JS: Update a reference to AdditionalSanitizerGuardNode
Unlike most other references to this class, we're not subclassing it here, we're just trying to reuse some standard barrier guards but with a different flow state.
This commit is contained in:
@@ -465,7 +465,7 @@ class AllowListInclusionGuard extends BarrierGuard {
|
||||
}
|
||||
|
||||
override predicate blocksExpr(boolean outcome, Expr e, DataFlow::FlowLabel lbl) {
|
||||
this.(TaintTracking::AdditionalSanitizerGuardNode).sanitizes(outcome, e) and
|
||||
this.(TaintTracking::AdditionalBarrierGuard).blocksExpr(outcome, e) and
|
||||
lbl instanceof UnsafePropLabel
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user