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 54597fd commit 185f845Copy full SHA for 185f845
javascript/ql/lib/semmle/javascript/security/dataflow/IndirectCommandInjectionQuery.qll
@@ -30,8 +30,9 @@ module IndirectCommandInjectionConfig implements DataFlow::ConfigSig {
30
predicate observeDiffInformedIncrementalMode() { any() }
31
32
Location getASelectedSinkLocation(DataFlow::Node sink) {
33
- exists(DataFlow::Node node |
34
- isSinkWithHighlight(sink, node) and
+ exists(DataFlow::Node node | isSinkWithHighlight(sink, node) |
+ result = sink.getLocation()
35
+ or
36
result = node.getLocation()
37
)
38
}
0 commit comments