diff options
Diffstat (limited to 'net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch')
-rw-r--r-- | net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch | 11 |
1 files changed, 11 insertions, 0 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 new file mode 100644 index 000000000000..0d94674ce5a3 --- /dev/null +++ b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8d-ping.patch @@ -0,0 +1,11 @@ +--- a/ping.c ++++ b/ping.c +@@ -813,7 +813,7 @@ + int rv; + + 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, |