]> granicus.if.org Git - procps-ng/commit
library: strengthen <pids> sort order parameter checks
authorJim Warner <james.warner@comcast.net>
Mon, 28 Sep 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Mon, 5 Oct 2015 10:32:54 +0000 (21:32 +1100)
commit27283bbc6f405522a0caf744ec5c6b6204cd975a
treee2880bdff8f99fe9cbbc77c3b01cc892571b63e6
parent683b3fd4f2a5fd8736d6a7f27847dff497227789
library: strengthen <pids> sort order parameter checks

The way that the passed sort order was validated would
allow the invalid 0 to fall between the sofa cushions.
So this patch will simply close that former oversight.

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