From: Adam Jackson <ajax@nwnk.net> Date: Sat, 7 Jan 2006 00:45:17 +0000 (+0000) Subject: Bug #5218: Don't crash on unconfigured interfaces. (Andrei Barbu) X-Git-Tag: xorg-server-1_0_99_1 X-Git-Url: http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=9d62d1e6903ccc095f784279a699b3f40a8f0cf8 Bug #5218: Don't crash on unconfigured interfaces. (Andrei Barbu) --- --- a/os/access.c +++ b/os/access.c @@ -975,6 +975,8 @@ DefineSelf (int fd) return; } for (ifr = ifap; ifr != NULL; ifr = ifr->ifa_next) { + if (!ifr->ifa_addr) + continue; #ifdef DNETCONN if (ifr->ifa_addr.sa_family == AF_DECnet) continue;