We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ca4cf commit 05d7be8Copy full SHA for 05d7be8
javascript/ql/src/semmle/javascript/dataflow/TaintTracking.qll
@@ -833,9 +833,7 @@ module TaintTracking {
833
override EqualityTest astNode;
834
835
TypeOfCheck() {
836
- exists(StringLiteral str, TypeofExpr typeof |
837
- astNode.hasOperands(str, typeof)
838
- |
+ exists(StringLiteral str, TypeofExpr typeof | astNode.hasOperands(str, typeof) |
839
str.getValue() = "undefined" and
840
typeof.getOperand() = x
841
)
0 commit comments