Skip to content

Commit 0ae9992

Browse files
committed
JS: Mark an alert as missing (reverts an earlier change)
1 parent 259486b commit 0ae9992

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/test/query-tests/Security/CWE-915/PrototypePollutingFunction

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Security/CWE-915/PrototypePollutingFunction/tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function copyUsingPlainForLoopNoAlias(dst, src) {
205205
if (dst[key]) {
206206
copyUsingPlainForLoopNoAlias(dst[keys[i]], src[keys[i]]);
207207
} else {
208-
dst[keys[i]] = src[keys[i]]; // $ Alert
208+
dst[keys[i]] = src[keys[i]]; // $ MISSING: Alert
209209
}
210210
}
211211
}

0 commit comments

Comments
 (0)