diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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) |