]> granicus.if.org Git - procps-ng/commit
library: fix major oops in procps_pids_reap() function
authorJim Warner <james.warner@comcast.net>
Wed, 26 Aug 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Thu, 27 Aug 2015 12:19:54 +0000 (22:19 +1000)
commitdef585881089f5e4ab9d236aa5ca48f4c64442ab
tree1cb2a53cbbaec818701cd230bef5d8bdaf92a7f5
parent66cd99270debdc7a5271e5cb0ff69233c5660572
library: fix major oops in procps_pids_reap() function

In my zeal to finalize the initial pids implementation
I omitted some quite important parameter checking from
the above function. Thank goodness top was kind to us.

Also, in anticipation of the additions of single stack
read and supporting functions some items were renamed.

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/pids.c