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 ad8e82a commit 8256286Copy full SHA for 8256286
cpp/ql/test/library-tests/dataflow/taint-tests/taint.ql
@@ -106,7 +106,7 @@ module IRTest {
106
override predicate allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c) {
107
// allow arbitrary reads at sinks
108
isSink(node) and
109
- c = any(DataFlow::ContentSet c_)
+ c.(DataFlow::FieldContent).getField().getDeclaringType() = node.getType().getUnspecifiedType()
110
}
111
112
0 commit comments