(res_init): Make `buf' of size MAXDNAME.
authordrepper <drepper>
Thu, 29 May 1997 12:00:44 +0000 (12:00 +0000)
committerdrepper <drepper>
Thu, 29 May 1997 12:00:44 +0000 (12:00 +0000)
resolv/res_init.c

index 91f9f40..755b88d 100644 (file)
@@ -159,7 +159,7 @@ res_init()
        register FILE *fp;
        register char *cp, **pp;
        register int n;
-       char buf[BUFSIZ];
+       char buf[MAXDNAME];
        int nserv = 0;    /* number of nameserver records read from file */
        int haveenv = 0;
        int havesearch = 0;