]> granicus.if.org Git - procps-ng/commit
library: add parameter checks for 'get', <MEMINFO> api
authorJim Warner <james.warner@comcast.net>
Wed, 1 Jun 2016 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Tue, 7 Jun 2016 11:04:43 +0000 (21:04 +1000)
commitaf0c65900bedbc659ffd2dbb7b45ecddd083ba9f
tree31b428264c44ce0ba0ad34d769444502f54c6904
parentb96c9943909474197b4e8f1da006e21c37676183
library: add parameter checks for 'get', <MEMINFO> api

When this interface was normalized/standardized, under
the commit referenced below, the parameters were never
validated in the 'get' function. Let's plug that hole.

Reference(s):
commit 407f1b71de3c4baed23d897b86ad316b64ad1ec9

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