mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
JS: whitelist another emptiness check for the type-confusion query
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