[issue17269] getaddrinfo segfaults on OS X when provided with invalid arguments combinations
Ned Deily
report at bugs.python.org
Fri Feb 22 02:00:07 CET 2013
Ned Deily added the comment:
The crash occurs in OS X's libsystem_info on 10.8.
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_info.dylib 0x00007fff86bacd9e mdns_addrinfo + 299
1 libsystem_info.dylib 0x00007fff86badae2 search_addrinfo + 152
2 libsystem_info.dylib 0x00007fff86b97f6d si_addrinfo + 1641
3 libsystem_info.dylib 0x00007fff86b9785c getaddrinfo + 171
4 _socket.so 0x0000000100516524 socket_getaddrinfo + 500
It's also reproducible back on OS X 10.6 crashing there in libSystem. (It looks like earlier versions of OS X don't support the AI_NUMERICSERV flag.) So it would appear to be a long-standing OS X bug. Possible actions: open an Apple incident and patch socket.getaddrinfo to catch this case.
----------
nosy: +ned.deily
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17269>
_______________________________________
More information about the Python-bugs-list
mailing list