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

Diff of /cauldron/ypserv/current/SOURCES/ypserv-2.13-ypxfr-zeroresp.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1649365 by pterjan, Thu Jan 17 21:30:27 2013 UTC revision 1649366 by tv, Wed Nov 25 21:58:07 2020 UTC
# Line 1  Line 1 
1  --- ypserv-2.13/ypxfr/ypxfr.c.orig      2004-01-12 08:12:15.000000000 -0500  diff -up ./ypxfr/ypxfr.c.ypxfr-zeroresp ./ypxfr/ypxfr.c
2  +++ ypserv-2.13/ypxfr/ypxfr.c   2004-08-31 13:17:30.000000000 -0400  --- ./ypxfr/ypxfr.c.ypxfr-zeroresp      2013-04-10 16:43:21.000000000 +0200
3  @@ -361,6 +361,7 @@ ypxfr (char *map, char *source_host, cha  +++ ./ypxfr/ypxfr.c     2013-05-06 18:31:36.875476520 +0200
4     struct hostent *h;  @@ -415,6 +415,7 @@ ypxfr (char *map, char *source_host, cha
5     int sock, result;     time_t masterOrderNum;
6       int result;
7    
8  +  memset(&resp_val, '\0', sizeof(resp_val));  +  memset(&resp_val, '\0', sizeof(resp_val));
9     /* Name of the map file */     /* Name of the map file */

Legend:
Removed from v.1649365  
changed lines
  Added in v.1649366

  ViewVC Help
Powered by ViewVC 1.1.30