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 eb1c7a3 commit 86ead5eCopy full SHA for 86ead5e
queries/default-setup-event-context.ql
@@ -25,7 +25,9 @@ class EventContextAccessConfiguration extends DataFlow::Configuration {
25
}
26
27
override predicate isSink(DataFlow::Node sink, DataFlow::FlowLabel lbl) {
28
- sink instanceof DataFlow::PropRead and lbl instanceof ParsedLabel
+ sink instanceof DataFlow::PropRead and
29
+ lbl instanceof ParsedLabel and
30
+ not exists(DataFlow::PropRead n | sink = n.getBase())
31
32
33
override predicate isAdditionalFlowStep(
0 commit comments