mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Ruby: Add post-update argument nodes for string constants
This commit is contained in:
@@ -70,7 +70,7 @@ foo3 = Foo.new
|
||||
foo3.set_field(taint(22))
|
||||
sink(foo3.field) # $ hasValueFlow=22
|
||||
|
||||
foo4 = "hello"
|
||||
foo4 = 4
|
||||
foo4.other = taint(23)
|
||||
sink(foo4.other) # no field flow for constants
|
||||
|
||||
|
||||
Reference in New Issue
Block a user