]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't touch ai_canonname without checking NULL. Current
authorume <ume@FreeBSD.org>
Sat, 23 Sep 2000 15:40:12 +0000 (15:40 +0000)
committerume <ume@FreeBSD.org>
Sat, 23 Sep 2000 15:40:12 +0000 (15:40 +0000)
commit7478417f78b0803432f1cc1834c60b5b9c594d3d
treea597c1d5f05a1af8d3da499510a1a0e922b94bd3
parent54345fd41bbe91db9411f88932ea2f30315705ca
Don't touch ai_canonname without checking NULL.  Current
implementation of getaddrinfo() may return NULL ai_canonname.
There is no consensus how getaddrinfo() should fill ai_canonname
when numeric hostname is given.

Reported by: kris
contrib/tcp_wrappers/socket.c