/[packages]/cauldron/ypserv/pristine/SOURCES/ypserv-2.13-ypxfr-zeroresp.patch
ViewVC logotype

Contents of /cauldron/ypserv/pristine/SOURCES/ypserv-2.13-ypxfr-zeroresp.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1649366 - (show annotations) (download)
Wed Nov 25 21:58:07 2020 UTC (4 years, 2 months ago) by tv
Original Path: cauldron/ypserv/current/SOURCES/ypserv-2.13-ypxfr-zeroresp.patch
File size: 518 byte(s)
4.1 which builds with tirpc/glibc-2.32
1 diff -up ./ypxfr/ypxfr.c.ypxfr-zeroresp ./ypxfr/ypxfr.c
2 --- ./ypxfr/ypxfr.c.ypxfr-zeroresp 2013-04-10 16:43:21.000000000 +0200
3 +++ ./ypxfr/ypxfr.c 2013-05-06 18:31:36.875476520 +0200
4 @@ -415,6 +415,7 @@ ypxfr (char *map, char *source_host, cha
5 time_t masterOrderNum;
6 int result;
7
8 + memset(&resp_val, '\0', sizeof(resp_val));
9 /* Name of the map file */
10 if (strlen (path_ypdb) + strlen (target_domain) + strlen (map) + 3 < MAXPATHLEN)
11 sprintf (dbName_orig, "%s/%s/%s", path_ypdb, target_domain, map);

  ViewVC Help
Powered by ViewVC 1.1.30