diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-07-31 20:21:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-07-31 20:21:45 +0000 |
commit | 68d61aada26faf8ba03112af9c85b3f7fb769730 (patch) | |
tree | 449e627b5c6d977797e89fa744ae26366534614f /libc/sysdeps/linux/common/pivot_root.c | |
parent | e907413137f5026a5c3b9bddb3f80771f928eb41 (diff) |
fix h_alias handling in gethostbyaddr_r() just like in gethostbyname_r()
otherwise we get messed up alias memory and this simple test case will
segfault:
python -c 'import socket; print socket.gethostbyaddr("80.68.88.204")[2];'
see bug report in blackfin tracker for more info:
http://blackfin.uclinux.org/tracker/index.php?func=detail&aid=1503&group_id=17&atid=141
Diffstat (limited to 'libc/sysdeps/linux/common/pivot_root.c')
0 files changed, 0 insertions, 0 deletions