Python: Fix clear text logging sink

No need to restrict it to arguments that are calls
This commit is contained in:
Rasmus Wriedt Larsen
2021-06-30 20:31:17 +02:00
parent e4af14638b
commit d9e2f504f8

View File

@@ -51,7 +51,7 @@ module CleartextLogging {
}
/** A piece of data printed, considered as a flow sink. */
class PrintedDataAsSink extends Sink, DataFlow::CallCfgNode {
class PrintedDataAsSink extends Sink {
PrintedDataAsSink() {
this = API::builtin("print").getACall().getArg(_)
or