summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-12-14 10:47:27 +0100
committerJeroen Roovers <jer@gentoo.org>2019-12-14 10:48:21 +0100
commit95c2469521282b6359efed1ca4edb959c7dcbbd7 (patch)
tree8bbf24a14dfb2cf08911df909493acd1f8c00a6d
parentwww-servers/puma: cleanup vulnerable versions (diff)
downloadgentoo-95c2469521282b6359efed1ca4edb959c7dcbbd7.tar.gz
gentoo-95c2469521282b6359efed1ca4edb959c7dcbbd7.tar.bz2
gentoo-95c2469521282b6359efed1ca4edb959c7dcbbd7.zip
net-analyzer/cacti-spine: Update patch
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch
index 0d94674ce5a3..55dc8754c8db 100644
--- a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch
+++ b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch
@@ -1,11 +1,11 @@
--- a/ping.c
+++ b/ping.c
-@@ -813,7 +813,7 @@
- int rv;
+@@ -913,7 +913,7 @@
+ struct hostent result;
buf = malloc(len*sizeof(char));
- memset(buf, 0, sizeof(buf));
+ memset(buf, 0, len*sizeof(char));
while (1) {
- rv = gethostbyname_r(hostname, &result_buf, buf, len,
+ hostinfo = gethostbyname_r(hostname, &result, buf, len, &h_errno);