Skip to content

Commit ea8fdff

Browse files
authored
Merge pull request #22314 from github/hvitved-remove-stdlib-taint-workaround
Python: Remove redundant collection taint summaries
2 parents d83985a + 8859c13 commit ea8fdff

3 files changed

Lines changed: 30 additions & 57 deletions

File tree

python/ql/lib/semmle/python/frameworks/Stdlib.qll

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4871,11 +4871,6 @@ module StdlibPrivate {
48714871
input = "Argument[0]" and
48724872
output = "Argument[self].ListElement" and
48734873
preservesValue = true
4874-
or
4875-
// transfer taint from new element to this (TODO: remove in future when taint-handling is more in line with other languages)
4876-
input = "Argument[0]" and
4877-
output = "Argument[self]" and
4878-
preservesValue = false
48794874
}
48804875
}
48814876

@@ -4898,11 +4893,6 @@ module StdlibPrivate {
48984893
input = "Argument[0]" and
48994894
output = "Argument[self].SetElement" and
49004895
preservesValue = true
4901-
or
4902-
// transfer taint from new element to this (TODO: remove in future when taint-handling is more in line with other languages)
4903-
input = "Argument[0]" and
4904-
output = "Argument[self]" and
4905-
preservesValue = false
49064896
}
49074897
}
49084898

0 commit comments

Comments
 (0)