Skip to content

Commit 0823f6c

Browse files
committed
JS: fix use of dataOrTaint()
1 parent 37fa244 commit 0823f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/TaintedPath.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ module TaintedPath {
162162
guard.sanitizes(_, e, any(Label::PosixPath label)) and
163163
src.(DataFlow::SourceNode).flowsToExpr(e) and
164164
dst = src and
165-
srclabel = DataFlow::FlowLabel::dataOrTaint() and
165+
srclabel instanceof DataFlow::StandardFlowLabel and
166166
dstlabel instanceof Label::PosixPath
167167
)
168168
or

0 commit comments

Comments
 (0)