mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
JS: Fix regexp tracking
This commit is contained in:
@@ -904,7 +904,7 @@ private DataFlow::Node regExpSource(DataFlow::Node re, DataFlow::TypeBackTracker
|
||||
exists(DataFlow::TypeBackTracker t2, DataFlow::Node succ | succ = regExpSource(re, t2) |
|
||||
t2 = t.smallstep(result, succ)
|
||||
or
|
||||
any(TaintTracking::AdditionalTaintStep dts).step(result, succ) and
|
||||
TaintTracking::sharedTaintStep(result, succ) and
|
||||
t = t2
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user