Files
Asger F 86932c51bc 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.
2025-02-28 13:27:40 +01:00

31 lines
364 B
JavaScript

while(c){ // $ Alert
switch(c){
case "/":
break;
default:
}
break;
}
function f() {
for (; k < numprecincts;) { // $ Alert
var packet = createPacket(resolution, k, l);
k++;
return packet;
}
}
var oHasProps = false;
for (var p in o) {
oHasProps = true;
break;
}
while(c){
if (c === '"')
break;
console.log(c);
}