mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
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.
31 lines
364 B
JavaScript
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);
|
|
}
|