Collin Funk <[email protected]> writes: > * src/getlimits.c (UID_T_MIN, GID_T_MIN): Define to the actual minimum > instead of zero, so it can be used to check for signedness. > * src/install.c (get_ids): Reject (uid_t) -1 for the owner ID > and (gid_t) -1 for the group ID. > * tests/install/basic-1.sh: Invoke getlimits_. Add two test cases. > * NEWS: Mention the bug fix. > --- > NEWS | 5 +++++ > src/getlimits.c | 10 ++++++++-- > src/install.c | 6 ++++-- > tests/install/basic-1.sh | 21 +++++++++++++++++++++ > 4 files changed, 38 insertions(+), 4 deletions(-)
I forgot to add to the commit message: Discovered by Anthropic's OSS Scanner, as bug ANT-2026-70QDVDDT. I've added that locally. Collin
