Launchpad has imported 2 comments from the remote bug at http://sourceware.org/bugzilla/show_bug.cgi?id=6843.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2008-08-14T20:44:34+00:00 Aurelien Jarno wrote: The following code segfaults with at least glibc >= 2.7 (and CVS). It works correctly with versions 2.3.X. I have tested versions in between. #define _GNU_SOURCE #include <string.h> #include <netdb.h> #include <signal.h> #include <stdio.h> int main (void) { #define N 10 struct gaicb reqmem[N]; struct gaicb *req[N]; int n; for (n = 0; n < N; ++n) { asprintf (&reqmem[n].ar_name, "test%d.test.redhat.com", 140 + n); reqmem[n].ar_service = NULL; reqmem[n].ar_request = NULL; reqmem[n].ar_result = NULL; req[n] = &reqmem[n]; } getaddrinfo_a (GAI_NOWAIT, req, N, NULL); return 0; } Reply at: https://bugs.launchpad.net/glibc/+bug/268195/comments/0 ------------------------------------------------------------------------ On 2008-11-01T00:19:51+00:00 Drepper-fsp wrote: Fixed in cvs. Reply at: https://bugs.launchpad.net/glibc/+bug/268195/comments/2 ** Changed in: glibc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/268195 Title: getaddrinfo_a stack overflow on 64bit - hardy -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
