If NIS_GROUP is the empty string, nis_local_domain access __nisgroup[-1].
Fixed for glibc 2.34 by: commit 70099c7763b8c47a4bb1eef1c41601c602a83270 Author: Florian Weimer <fweimer@redhat.com> Date: Mon Jul 12 07:58:07 2021 +0200 nis: nis_local_group may read from __nisgroup[-1] (bug 28075) Reviewed-by: Carlos O'Donell <carlos@redhat.com> (This does not fix the build breakage with current GCC 12, though, due to the linked GCC PR.)