mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Added basic taint tracking test for Array.prototype.toSpliced()
This commit is contained in:
@@ -59,4 +59,5 @@ function test() {
|
||||
tagged`foo ${"safe"} bar ${x} baz`;
|
||||
|
||||
sink(x.reverse()); // NOT OK
|
||||
sink(x.toSpliced()); // NOT OK -- Should be caught, but it is not
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user