diff options
Diffstat (limited to 'main/sudo/domain.patch')
-rw-r--r-- | main/sudo/domain.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/sudo/domain.patch b/main/sudo/domain.patch new file mode 100644 index 0000000000..49620ebdb6 --- /dev/null +++ b/main/sudo/domain.patch @@ -0,0 +1,12 @@ +--- ./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; |