From: Stefan Sperling Subject: Re: gotwebd_ngroups not initialized To: Denis Bodor Cc: gameoftrees@openbsd.org Date: Mon, 26 May 2025 21:39:56 +0200 On Mon, May 26, 2025 at 07:08:03PM +0200, Denis Bodor wrote: > Hi, > > I'm playing with gotwebd and the daemon won't launch with messages like : > gotwebd: too many groups for user _gotwebd > > The problem comes from the getgrouplist() call, where gotwebd_ngroups > should be initialised with the size of gotwebd_groups. > > So: > > int ch, i, gotwebd_ngroups; > > should be: > > int ch, i, gotwebd_ngroups = NGROUPS_MAX; Fixed on the main branch. Thank you!