Merge pull request #518 from 418sec/6-npm-systeminformation
Security Fix for Improper Input Validation
This commit is contained in:
commit
45c08f139e
@ -485,6 +485,10 @@ function versions(apps, callback) {
|
||||
apps = '*';
|
||||
} else {
|
||||
apps = apps || '*';
|
||||
if (typeof apps !== 'string') {
|
||||
if (callback) { callback({}); }
|
||||
return resolve({});
|
||||
}
|
||||
}
|
||||
const appsObj = checkVersionParam(apps);
|
||||
let totalFunctions = appsObj.counter;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user