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.
cpp/cgi-xss
1 parent 3b777c2 commit 6167627Copy full SHA for 6167627
cpp/ql/src/Security/CWE/CWE-079/CgiXss.ql
@@ -35,7 +35,9 @@ module Config implements DataFlow::ConfigSig {
35
}
36
37
predicate isBarrier(DataFlow::Node node) {
38
- node.asExpr().getUnspecifiedType() instanceof IntegralType
+ isSink(node) and node.asExpr().getUnspecifiedType() instanceof ArithmeticType
39
+ or
40
+ node.asInstruction().(StoreInstruction).getResultType() instanceof ArithmeticType
41
42
43
0 commit comments