Skip to content

Commit 37a4f35

Browse files
committed
Python: further rename
1 parent 8156fa9 commit 37a4f35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/ql/lib/semmle/python/security/dataflow/NoSQLInjectionQuery.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ module NoSqlInjectionConfig implements DataFlow::StateConfigSig {
2222
state instanceof C::DictInput
2323
}
2424

25-
predicate isSink(DataFlow::Node source, FlowState state) {
26-
source instanceof C::StringSink and
25+
predicate isSink(DataFlow::Node sink, FlowState state) {
26+
sink instanceof C::StringSink and
2727
(
2828
state instanceof C::StringInput
2929
or
3030
// since dictionaries can encode strings
3131
state instanceof C::DictInput
3232
)
3333
or
34-
source instanceof C::DictSink and
34+
sink instanceof C::DictSink and
3535
state instanceof C::DictInput
3636
}
3737

0 commit comments

Comments
 (0)