mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Added test case for Array.prototype.reverse, which is currently not flagged as a potential sink.
This commit is contained in:
@@ -57,4 +57,6 @@ function test() {
|
||||
}
|
||||
|
||||
tagged`foo ${"safe"} bar ${x} baz`;
|
||||
|
||||
sink(x.reverse()); // NOT OK -- Should be caught but isn't
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user