Bug #5218: Don't crash on unconfigured interfaces. (Andrei Barbu)
This commit is contained in:
parent
3c58072956
commit
9d62d1e690
@ -20,6 +20,9 @@
|
||||
* mi/miinitext.c:
|
||||
Bug #5525: Build a working Xprt. (Drew Parsons)
|
||||
|
||||
* os/access.c:
|
||||
Bug #5218: Don't crash on unconfigured interfaces. (Andrei Barbu)
|
||||
|
||||
2006-01-06 Adam Jackson <ajax@freedesktop.org>
|
||||
|
||||
* hw/xfree86/loader/misym.c:
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* $Xorg: access.c,v 1.5 2001/02/09 02:05:23 xorgcvs Exp $ */
|
||||
/* $XdotOrg: xc/programs/Xserver/os/access.c,v 1.9 2005/05/02 22:01:08 harold Exp $ */
|
||||
/* $XdotOrg: xserver/xorg/os/access.c,v 1.13 2005/11/08 06:33:30 jkj Exp $ */
|
||||
/***********************************************************
|
||||
|
||||
Copyright 1987, 1998 The Open Group
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user