author | Sebastian Harl <sh@teamix.net> | |
Thu, 28 Apr 2011 07:18:21 +0000 (09:18 +0200) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Fri, 29 Apr 2011 00:42:53 +0000 (20:42 -0400) | ||
commit | 5ebe25fc24d33cf2d7b46fce9e746a58e0115010 | |
tree | 25b36b76141d4253d56e58c158a1e6c1c32573ee | tree | snapshot |
parent | 1bc7a4a198aefde2389c9c1685baed0da7856bf5 | commit | diff |
check_host: Allocate a large-enough buffer for the host table.
When specifying a host-name on the command line, each of its IPs is added to
the host table (and each one is pinged). So, the buffer has to be large enough
to hold all of the respective host objects. (argc - 1) only fits hosts with a
single IP.
Thanks to Max Kosmach <max@tcen.ru> for reporting this in Debian bug #623702.
When specifying a host-name on the command line, each of its IPs is added to
the host table (and each one is pinged). So, the buffer has to be large enough
to hold all of the respective host objects. (argc - 1) only fits hosts with a
single IP.
Thanks to Max Kosmach <max@tcen.ru> for reporting this in Debian bug #623702.
NEWS | diff | blob | history | |
THANKS.in | diff | blob | history | |
plugins-root/check_icmp.c | diff | blob | history |