Skip to content

Commit 7f9cb76

Browse files
hvitvedCopilot
andcommitted
Python: Remove redundant collection taint summaries
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 91eb992 commit 7f9cb76

1 file changed

Lines changed: 0 additions & 10 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)