Fix crash in visudo introduced in sudo 1.8.9 when an IP address or
network is used in a host-based Defaults entry. Bug #766
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
# define INADDR_NONE ((unsigned int)-1)
|
||||
#endif
|
||||
|
||||
static struct interface_list interfaces;
|
||||
static struct interface_list interfaces = SLIST_HEAD_INITIALIZER(interfaces);
|
||||
|
||||
/*
|
||||
* Parse a space-delimited list of IP address/netmask pairs and
|
||||
|
Reference in New Issue
Block a user