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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 49052 - (hide annotations) (download)
Tue Feb 8 16:37:55 2011 UTC (13 years, 2 months ago) by ennael
File size: 474 byte(s)
imported package ypserv
1 ennael 49052 --- ypserv-2.13/ypxfr/ypxfr.c.orig 2004-01-12 08:12:15.000000000 -0500
2     +++ ypserv-2.13/ypxfr/ypxfr.c 2004-08-31 13:17:30.000000000 -0400
3     @@ -361,6 +361,7 @@ ypxfr (char *map, char *source_host, cha
4     struct hostent *h;
5     int sock, result;
6    
7     + memset(&resp_val, '\0', sizeof(resp_val));
8     /* Name of the map file */
9     if (strlen (path_ypdb) + strlen (target_domain) + strlen (map) + 3 < MAXPATHLEN)
10     sprintf (dbName_orig, "%s/%s/%s", path_ypdb, target_domain, map);

  ViewVC Help
Powered by ViewVC 1.1.30