--- ./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;