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 694bae3 commit 54597fdCopy full SHA for 54597fd
javascript/ql/lib/semmle/javascript/security/dataflow/CommandInjectionQuery.qll
@@ -34,8 +34,9 @@ module CommandInjectionConfig implements DataFlow::ConfigSig {
34
predicate observeDiffInformedIncrementalMode() { any() }
35
36
Location getASelectedSinkLocation(DataFlow::Node sink) {
37
- exists(DataFlow::Node node |
38
- isSinkWithHighlight(sink, node) and
+ exists(DataFlow::Node node | isSinkWithHighlight(sink, node) |
+ result = sink.getLocation()
39
+ or
40
result = node.getLocation()
41
)
42
}
0 commit comments