mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Python: Final(?!) fix of annotations
This commit is contained in:
@@ -597,7 +597,7 @@ def test_iterated_unpacking_assignment_conversion():
|
||||
SINK(a1)
|
||||
SINK_F(a2) # The list itself is not tainted
|
||||
SINK_F(a2[0])
|
||||
SINK(a2[1]) # Flow not found
|
||||
SINK(a2[1]) # Flow not found since `*a2` does not know to read from index 2
|
||||
SINK_F(b) # The list itself is not tainted
|
||||
SINK_F(b[0])
|
||||
|
||||
@@ -606,7 +606,7 @@ def test_iterated_unpacking_assignment_conversion():
|
||||
SINK(a1)
|
||||
SINK_F(a2) # The list itself is not tainted
|
||||
SINK_F(a2[0])
|
||||
SINK(a2[1]) # Flow not found
|
||||
SINK(a2[1]) # Flow not found since `*a2` does not know to read from index 2
|
||||
SINK_F(b) # The list itself is not tainted
|
||||
SINK_F(b[0]) # Expected FP here due to list abstraction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user