diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2025-08-15 15:08:18 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2025-08-15 15:08:18 +0000 |
commit | 08f5e06c5e3332de231a664ffd6f7856e9fead07 (patch) | |
tree | 51e8c2050f9c057bda5619f90e2d9e8b1b58c38e /contrib/libxo/tests/core | |
parent | e7a766f9d0b1f975864553d7d27bcbe808f04f91 (diff) |
We need to actually copyout the remainder of the groups if the egid
succeeded, not failed. My test that was designed to catch this along
with the previously-found syzkaller panic did not zero out the groups
array prior to re-fetching, so it did not catch that entries beyond the
first were not actually populated.
Pointy hat: kevans
Fixes: 9da2fe96ff ("kern: fix setgroups(2) and getgroups(2) [...]")
Diffstat (limited to 'contrib/libxo/tests/core')
0 files changed, 0 insertions, 0 deletions