mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
two bugfixes
This commit is contained in:
@@ -39,4 +39,10 @@
|
||||
arr6[i] = arr5[i];
|
||||
}
|
||||
sink(arr6.pop()); // NOT OK
|
||||
|
||||
|
||||
Array.from("source").forEach((e, i, ary) => {
|
||||
sink(ary.pop()); // NOT OK
|
||||
sink(ary); // OK - its the array itself, not an element.
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user