Merge pull request #1218 from esben-semmle/js/whitelist-typeconfusion-lt1-checks

Approved by asger-semmle
This commit is contained in:
semmle-qlci
2019-04-09 01:11:34 +01:00
committed by GitHub
3 changed files with 14 additions and 1 deletions

View File

@@ -68,4 +68,6 @@ express().get('/some/path/:foo', function(req, res) {
while (p.length) { // OK
p = p.substr(1);
}
p.length < 1; // OK
});