commit e96e07c567e498429cf44c94d832c1a0023bcd21 from: Stefan Sperling via: Thomas Adam date: Wed May 28 20:58:39 2025 UTC gotwebd: do not forget to initialize *ngroups argument for getgrouplist() spotted by Denis Bodor, thanks! commit - d61a86355960fe8b722abcf7ca17ab1555098469 commit + e96e07c567e498429cf44c94d832c1a0023bcd21 blob - 4482529e8b67d35832250a0cd44391d58d466d02 blob + 74f8973d272e4a432bec49a9dfae9404a4747e51 --- gotwebd/gotwebd.c +++ gotwebd/gotwebd.c @@ -356,7 +356,7 @@ main(int argc, char **argv) struct event_base *evb; struct gotwebd *env; struct passwd *pw; - int ch, i, gotwebd_ngroups; + int ch, i, gotwebd_ngroups = NGROUPS_MAX; int no_action = 0; int proc_type = GOTWEBD_PROC_PARENT; const char *conffile = GOTWEBD_CONF;