mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
python: model string property of resultof finditer
This commit is contained in:
@@ -39,8 +39,8 @@ ensure_tainted(
|
||||
compiled_pat.match(ts).string, # $ tainted
|
||||
re.compile(ts).match("safe").re.pattern, # $ tainted
|
||||
|
||||
list(re.finditer(pat, ts))[0].string, # $ MISSING: tainted
|
||||
[m.string for m in re.finditer(pat, ts)], # $ MISSING: tainted
|
||||
list(re.finditer(pat, ts))[0].string, # $ tainted
|
||||
[m.string for m in re.finditer(pat, ts)], # $ tainted
|
||||
|
||||
list(re.finditer(pat, ts))[0].groups()[0], # $ MISSING: tainted
|
||||
[m.groups()[0] for m in re.finditer(pat, ts)], # $ MISSING: tainted
|
||||
|
||||
Reference in New Issue
Block a user