aboutsummaryrefslogtreecommitdiff
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
parentbd7f48571d8bca9fd9072aad409c30e0e2cbc2e0 (diff)
downloadglibc-3c22738644a2bcc6a1a25812f057f10b3b1c1d4c.tar
glibc-3c22738644a2bcc6a1a25812f057f10b3b1c1d4c.tar.gz
glibc-3c22738644a2bcc6a1a25812f057f10b3b1c1d4c.tar.bz2
glibc-3c22738644a2bcc6a1a25812f057f10b3b1c1d4c.zip
* sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial
buffer passed to NSS functions.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/posix/getaddrinfo.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 962f83da32..245929dc24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2008-07-30 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial
+ buffer passed to NSS functions.
+
* nscd/connections.c (nscd_init): Type if preprocessor directive.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT):
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)