-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi,
I'm getting an undefined error when trying to query processes with a determined command.
The problem is that psaux try to call indexOf of a null property value:
valid = ps[key].indexOf(q[key].replace('~', '')) > -1;
In my case, key is "command" and ps[key] contains null as it's value.
This occurs in line 126 of psaux,js.
The above code solved my issue:
if (ps[key]) { valid = ps[key].indexOf(q[key].replace('~', '')) > -1; } else { valid = false; }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels