Blame SOURCES/ypserv-2.13-ypxfr-zeroresp.patch
|
|
b0f15a |
diff -up ./ypxfr/ypxfr.c.ypxfr-zeroresp ./ypxfr/ypxfr.c
|
|
|
b0f15a |
--- ./ypxfr/ypxfr.c.ypxfr-zeroresp 2013-04-10 16:43:21.000000000 +0200
|
|
|
b0f15a |
+++ ./ypxfr/ypxfr.c 2013-05-06 18:31:36.875476520 +0200
|
|
|
b0f15a |
@@ -415,6 +415,7 @@ ypxfr (char *map, char *source_host, cha
|
|
|
b0f15a |
struct hostent *h;
|
|
|
b0f15a |
int sock, result;
|
|
|
b0f15a |
|
|
|
b0f15a |
+ memset(&resp_val, '\0', sizeof(resp_val));
|
|
|
b0f15a |
/* Name of the map file */
|
|
|
b0f15a |
if (strlen (path_ypdb) + strlen (target_domain) + strlen (map) + 3 < MAXPATHLEN)
|
|
|
b0f15a |
sprintf (dbName_orig, "%s/%s/%s", path_ypdb, target_domain, map);
|