Skip to content

Commit d9e2f50

Browse files
committed
Python: Fix clear text logging sink
No need to restrict it to arguments that are calls
1 parent e4af146 commit d9e2f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/security/dataflow/CleartextLoggingCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module CleartextLogging {
5151
}
5252

5353
/** A piece of data printed, considered as a flow sink. */
54-
class PrintedDataAsSink extends Sink, DataFlow::CallCfgNode {
54+
class PrintedDataAsSink extends Sink {
5555
PrintedDataAsSink() {
5656
this = API::builtin("print").getACall().getArg(_)
5757
or

0 commit comments

Comments
 (0)