diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-07-30 19:14:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-07-30 19:14:32 +0000 |
commit | 3c22738644a2bcc6a1a25812f057f10b3b1c1d4c (patch) | |
tree | 7a5f1c2f1ae8f9ffd63a88bf9eab7d2f781c1950 | |
parent | bd7f48571d8bca9fd9072aad409c30e0e2cbc2e0 (diff) | |
download | glibc-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-- | 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) |