4 ms·
I mentioned the gethostbyname call during an interview with this question. The interviewer reminded me that gethostbyname was deprecated and we had a short dis
by kokey 12y ago
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.
- fafner 12y agoIt has been obsoleted in favour of getnameinfo. (The vulnerability in glibc has been fixed.)