From 165d5ab56fc4eeb8cea1e98206ec5f6064c6246e Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Fri, 10 Nov 2023 12:43:20 +0200 Subject: Avoid undefined behaviour if uid_t/gid_t is signed. This drops support for CentOS 7 because its GCC is too old to support `__builtin_add_overflow`, and its EOL'ing in about half a year anyway. Fixes #143 --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 381601b..cf96956 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2023-11-10 Martin Pärtel + + * Fixed undefined behaviour on platforms where `uid_t` or `gid_t` + is signed (issue #143, thanks @hartwork!) + 2023-11-09 Martin Pärtel * Support negative --{uid,gid}-offset (issue #142) -- cgit v1.2.3