Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cpp/ql/src/Security/CWE/CWE-089/SqlTainted.ql
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ module SqlTaintedConfig implements DataFlow::ConfigSig {

predicate isBarrier(DataFlow::Node node) {
node.asExpr().getUnspecifiedType() instanceof IntegralType
or
// barrier defined using models-as-data
barrierNode(node, "sql-injection")
}

predicate isBarrierIn(DataFlow::Node node) {
Expand Down
Loading