mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JS: fix use of dataOrTaint()
This commit is contained in:
@@ -162,7 +162,7 @@ module TaintedPath {
|
||||
guard.sanitizes(_, e, any(Label::PosixPath label)) and
|
||||
src.(DataFlow::SourceNode).flowsToExpr(e) and
|
||||
dst = src and
|
||||
srclabel = DataFlow::FlowLabel::dataOrTaint() and
|
||||
srclabel instanceof DataFlow::StandardFlowLabel and
|
||||
dstlabel instanceof Label::PosixPath
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user