mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
python: add test to validation (and fix it)
This commit is contained in:
@@ -31,7 +31,7 @@ def SINK_F(x):
|
||||
print("OK")
|
||||
|
||||
l = [NONSOURCE]
|
||||
SINK_F(l_mod[0])
|
||||
SINK_F(l[0])
|
||||
|
||||
l_mod = [SOURCE for x in l]
|
||||
SINK(l_mod[0]) #$ captured
|
||||
|
||||
Reference in New Issue
Block a user