Re: [PATCH] Workaround for ai_canonname sometimes coming back as null
From: Alex Riesen <hidden> Date: 2016-06-15 22:46:41
2009/4/29 Augie Fackler [off-list ref]:
quoted
This last line will crash some lines down, when canon_hostname is free'd:
Odd, because I'm running with that exact code and not seeing the problem.
Pure luck (see the message regarding "the line above". The first was bogus,
of course. It is in the other leg of #ifndef NO_IPV6). The "line above" will
crash should you have more than one element in gai list.