If gaih_inet returns many results then the subsequent sort process can overflow the stack.
CVE-2013-1914
Fixed by 1cef1b19089528db11f221e938f60b9b048945d7