Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I mentioned the gethostbyname call during an interview with this question. The interviewer reminded me that gethostbyname was deprecated and we had a short discussion about the recently discovered vulnerability in the glibc implementation of it.


It has been obsoleted in favour of getnameinfo. (The vulnerability in glibc has been fixed.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: