> This could be an on-stack buffer, IPv6 addresses are only INET6_ADDRSTRLEN bytes long.

Yeah, I considered it, but somehow that was the problem that brought me here so well, I I not so big allocation shouldn't be that bad :-)