"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Denis Bodor <dbodor@lefinnois.net>
Subject:
gotwebd_ngroups not initialized
To:
gameoftrees@openbsd.org
Date:
Mon, 26 May 2025 19:08:03 +0200

Download raw body.

Thread
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;



-- 
Denis