Python: Enable taint when iterating over ExternalFileObject

This commit is contained in:
Rasmus Wriedt Larsen
2020-04-23 14:11:28 +02:00
parent 86630f1d6c
commit 06edd076b6

View File

@@ -195,6 +195,8 @@ class ExternalFileObject extends TaintKind {
or
name = "readlines" and result.(SequenceKind).getItem() = this.getValue()
}
override TaintKind getTaintForIteration() { result = this.getValue() }
}
/**