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 8156fa9 commit 37a4f35Copy full SHA for 37a4f35
python/ql/lib/semmle/python/security/dataflow/NoSQLInjectionQuery.qll
@@ -22,16 +22,16 @@ module NoSqlInjectionConfig implements DataFlow::StateConfigSig {
22
state instanceof C::DictInput
23
}
24
25
- predicate isSink(DataFlow::Node source, FlowState state) {
26
- source instanceof C::StringSink and
+ predicate isSink(DataFlow::Node sink, FlowState state) {
+ sink instanceof C::StringSink and
27
(
28
state instanceof C::StringInput
29
or
30
// since dictionaries can encode strings
31
32
)
33
34
- source instanceof C::DictSink and
+ sink instanceof C::DictSink and
35
36
37
0 commit comments