mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
C++: Make QL-for-QL happy.
This commit is contained in:
@@ -55,7 +55,7 @@ class FromSensitiveConfiguration extends TaintTracking::Configuration {
|
||||
|
||||
override predicate allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet content) {
|
||||
// flow out from fields at the sink (only).
|
||||
isSink(node) and
|
||||
this.isSink(node) and
|
||||
// constrain `content` to a field inside the node.
|
||||
exists(Class c |
|
||||
node.asExpr().getUnspecifiedType().stripType() = c and
|
||||
|
||||
Reference in New Issue
Block a user