about summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-30 19:14:32 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-30 19:14:32 +0000
commit3c22738644a2bcc6a1a25812f057f10b3b1c1d4c (patch)
tree7a5f1c2f1ae8f9ffd63a88bf9eab7d2f781c1950 /sysdeps/posix
parentbd7f48571d8bca9fd9072aad409c30e0e2cbc2e0 (diff)
downloadglibc-3c22738644a2bcc6a1a25812f057f10b3b1c1d4c.tar.gz
glibc-3c22738644a2bcc6a1a25812f057f10b3b1c1d4c.tar.xz
glibc-3c22738644a2bcc6a1a25812f057f10b3b1c1d4c.zip
* sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial
	buffer passed to NSS functions.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index 4987505c5e..97f3af9938 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -697,7 +697,7 @@ gaih_inet (const char *name, const struct gaih_service *service,
 	  old_res_options = _res.options;
 	  _res.options &= ~RES_USE_INET6;
 
-	  size_t tmpbuflen = 512;
+	  size_t tmpbuflen = 1024;
 	  char *tmpbuf = alloca (tmpbuflen);
 
 	  while (!no_more)