diff options
author | Sven Nierlein <sven@nierlein.de> | 2019-04-25 11:03:10 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2019-05-24 12:51:10 (GMT) |
commit | e8325b39c47e6fbf7c8c1e31f9026870d9520af5 (patch) | |
tree | 1c55421a51808253cbe59348e45bd0cb580354c5 /gl/m4/strnlen.m4 | |
parent | 4131f2f268e7d771490ebeadbae50b4f95d69695 (diff) | |
download | monitoring-plugins-e8325b39c47e6fbf7c8c1e31f9026870d9520af5.tar.gz |
fix maxfd being zero
If _SC_OPEN_MAX is available then maxfd was zero initialized and never set to the value from sysconf.
This leads to segfaults with free(): invalid size introduced by commit 7cafb0e84550035fe671662c293122be975065ca.
Signed-off-by: Sven Nierlein <sven@nierlein.de>
Diffstat (limited to 'gl/m4/strnlen.m4')
0 files changed, 0 insertions, 0 deletions