]> de.git.xonotic.org Git - xonotic/netradiant.git/commit
l_net: don't segfault of gethostbyname(gethostname()) fails
authorRudolf Polzer <divverent@xonotic.org>
Wed, 24 Oct 2012 13:55:42 +0000 (15:55 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 24 Oct 2012 13:55:42 +0000 (15:55 +0200)
commitcb907744d6cd176a2e27dbf120f8437ad27bf7f4
tree3a7ebc32f29f6f2190547bfa932dd8e6fe3edfec
parenta28eb1130277787c5e32a85ae3f02db895df0ab5
l_net: don't segfault of gethostbyname(gethostname()) fails

Can happen on Linux with misconfigured /etc/hosts.
libs/l_net/l_net_berkley.c
libs/l_net/l_net_wins.c