mirror of
https://github.com/github/codeql.git
synced 2026-05-03 20:58:03 +02:00
JS: Move some alerts to their correct location
One of the diffs look confusing but:
Previously parameter {2,3} where flagged, now parameter {1,2} are flagged.
Note that for command injection, the SystemCommandExecution is flagged
despite the test file claiming otherwise.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
function f(
|
||||
x,
|
||||
x, // $ Alert
|
||||
\u0078 // $ Alert
|
||||
x, // $ Alert
|
||||
\u0078
|
||||
) { return; }
|
||||
|
||||
this.addPropertyListener(prop.name, function(_, _, _, a) {
|
||||
|
||||
Reference in New Issue
Block a user