Skip to content

Commit 461a943

Browse files
committed
JS: Mark alert as missing (revert an earlier change in UnsafeShellCommandConstruction)
1 parent 86704ed commit 461a943

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/test/query-tests/Security/CWE-078/UnsafeShellCommandConstruction/lib

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Security/CWE-078/UnsafeShellCommandConstruction/lib/lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ function MyTrainer(opts) {
363363

364364
MyTrainer.prototype = {
365365
train: function() {
366-
var command = "learn " + this.learn_args + " " + model; // $ Alert
366+
var command = "learn " + this.learn_args + " " + model; // $ MISSING: Alert - lack of local field step
367367
cp.exec(command);
368368
}
369369
};

0 commit comments

Comments
 (0)