mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Merge pull request #1218 from esben-semmle/js/whitelist-typeconfusion-lt1-checks
Approved by asger-semmle
This commit is contained in:
@@ -68,4 +68,6 @@ express().get('/some/path/:foo', function(req, res) {
|
||||
while (p.length) { // OK
|
||||
p = p.substr(1);
|
||||
}
|
||||
|
||||
p.length < 1; // OK
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user