mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
add string concat as a sink for code-construction
This commit is contained in:
@@ -50,4 +50,9 @@ class Foobar
|
||||
HERE
|
||||
eval(foo) # NOT OK
|
||||
end
|
||||
|
||||
def string_concat(x)
|
||||
foo = "foo = " + x
|
||||
eval(foo) # NOT OK
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user