mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 03:42:37 +01:00
13 lines
323 B
Diff
13 lines
323 B
Diff
--- ./plugins/sudoers/match.c.orig
|
|
+++ ./plugins/sudoers/match.c
|
|
@@ -933,8 +933,8 @@
|
|
bool
|
|
netgr_matches(const char *netgr, const char *lhost, const char *shost, const char *user)
|
|
{
|
|
+ static char *domain = NULL;
|
|
#ifdef HAVE_INNETGR
|
|
- static char *domain;
|
|
static int initialized;
|
|
#endif
|
|
bool rc = false;
|