diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-01-16 02:42:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-16 02:42:01 +0100 |
| commit | b58e244cc76afc0c02a201fbbdd079db02ed841d (patch) | |
| tree | 976a07d5849c0bd2fe6b3a4bb47b27de446a7a73 /plugins/check_ntp_time.d | |
| parent | 67160010028681c7fe2461459a9fecc33a7e4dbf (diff) | |
| download | monitoring-plugins-b58e244cc76afc0c02a201fbbdd079db02ed841d.tar.gz | |
check_icmp: prevent segfault on OpenBSD (#2224)
* check_icmp: prevent segfault on OpenBSD
This commit adds a sanity check for sockets in
check_icmp.
Previously FD_ISSET segfaulted when a socket value was
-1 (on OpenBSD). The changes here add an explicit
check whether the socket is -1 (and therefore not
set).
---------
Co-authored-by: Lorenz Kästle <lorenz.kaestle@netways.de>
Diffstat (limited to 'plugins/check_ntp_time.d')
0 files changed, 0 insertions, 0 deletions
