On 08/08/2026 03:46, Collin Funk wrote:
I've attached 2 patches. The first avoids an unlikely (impossible?) integer overflow used for allocating a buffer. It only occurs on systems with a buggy getgrouplist. The comments say Darwin has the bug, but I haven't checked which versions. This was found in coreutils coverity.The second adjusts the module to use reallocarray, instead of implementing a similar function ourself here. Will push them in a bit.
LGTM, thanks
