summaryrefslogtreecommitdiffstats
path: root/plugins/check_cluster.c
diff options
context:
space:
mode:
authorVadim Zhukov <persgray@gmail.com>2017-07-19 10:55:08 (GMT)
committerSven Nierlein <sven@nierlein.org>2020-01-21 19:40:30 (GMT)
commit60ec4d29019c553451d828fe366c8acc46fc8162 (patch)
tree819075e88ebc27364e05ca65ad3a70542bdea7cc /plugins/check_cluster.c
parentf53ea7afd8e124690871ebdb79a1432e4dd14488 (diff)
downloadmonitoring-plugins-60ec4d29019c553451d828fe366c8acc46fc8162.tar.gz
Use size_t instead of int when calling sysctl(3).
Otherwise, it writes sizeof(size_t) bytes to &oldlen, smashing the stack.
Diffstat (limited to 'plugins/check_cluster.c')
0 files changed, 0 insertions, 0 deletions