Call getgroups() to know size of supplementary groups array to allocate
authorRenaud Métrich <rmetrich@redhat.com>
Fri, 13 Sep 2019 09:18:18 +0000 (11:18 +0200)
committerMichael Biebl <biebl@debian.org>
Tue, 19 Nov 2019 08:17:12 +0000 (08:17 +0000)
commitc062a1bc36e45374e80460ab9e3601ca823c0bee
tree25d2a02a908925b4637b25091030c96e8f0c2b2c
parent9f7159576943fd0602b4435efe81d628dd80a741
Call getgroups() to know size of supplementary groups array to allocate

Resolves RHBZ #1743230 - journalctl dumps core when stack limit is reduced to 256 KB

(cherry picked from commit f5e0b942af1e86993c21f4e5c84342bb10403dac)
(cherry picked from commit 8ca1e561657575a619a071ab0c22f474094ef21d)

Gbp-Pq: Name Call-getgroups-to-know-size-of-supplementary-groups-array.patch
src/basic/user-util.c