Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 277333 Details for
Bug 371617
sys-libs/glibc-2.14 segfaults on __libc_res_nquery()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Simple testcase
nsquerytest.c (text/plain), 472 bytes, created by
Daniel Kluev
on 2011-06-17 07:00:42 UTC
(
hide
)
Description:
Simple testcase
Filename:
MIME Type:
Creator:
Daniel Kluev
Created:
2011-06-17 07:00:42 UTC
Size:
472 bytes
patch
obsolete
>#include <sys/types.h> >#include <sys/socket.h> >#include <netdb.h> >#include <stdio.h> > >int main(int argc, char **argv) >{ > struct addrinfo *ai = 0, *tmpai, hints; > int result; > for (int i=0; i<100; i++) > { > memset(&hints, 0, sizeof(hints)); > hints.ai_family = 0; > hints.ai_flags = 32; > hints.ai_socktype = 1; > printf("Attempt %i\n", i); > getaddrinfo("c.ns.blackducksoftware.com", 0, &hints, &ai); > } > return 0; >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 371617
:
277027
|
277029
|
277031
| 277333 |
277335
|
277339
|
277755