From 32eb05f0021afe46ffe5b5051b0fbbdd95452b80 Mon Sep 17 00:00:00 2001 From: Iker Pedrosa Date: Wed, 14 Jul 2021 10:48:58 +0200 Subject: [PATCH] Fix regression issues Fix regressions detected in rhbz#667593 and rhbz#672510. Link to gating test: https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/38043488 Resolves: #1938871 --- shadow-4.8.1-covscan_fixes.patch | 9 --------- shadow-utils.spec | 5 ++++- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/shadow-4.8.1-covscan_fixes.patch b/shadow-4.8.1-covscan_fixes.patch index 188446d..ddad268 100644 --- a/shadow-4.8.1-covscan_fixes.patch +++ b/shadow-4.8.1-covscan_fixes.patch @@ -731,15 +731,6 @@ index 2da734a7..d85d5f20 100644 return array; } -@@ -262,6 +263,8 @@ bool is_on_list (char *const *list, const char *member) - } - } - -+ free (members); -+ - /* - * Return the new array of pointers - */ diff --git a/libmisc/myname.c b/libmisc/myname.c index 05efdad3..e1b7f702 100644 --- a/libmisc/myname.c diff --git a/shadow-utils.spec b/shadow-utils.spec index eb15a3d..92ceb71 100644 --- a/shadow-utils.spec +++ b/shadow-utils.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing accounts and shadow password files Name: shadow-utils Version: 4.8.1 -Release: 10%{?dist} +Release: 11%{?dist} Epoch: 2 URL: https://github.com/shadow-maint/shadow Source0: https://github.com/shadow-maint/shadow/releases/download/%{version}/shadow-%{version}.tar.xz @@ -352,6 +352,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libsubid.la %{_libdir}/libsubid.so %changelog +* Wed Jul 14 2021 Iker Pedrosa - 2:4.8.1-11 +- Fix regression issues detected in rhbz#667593 and rhbz#672510. Resolves: #1938871 + * Tue Jul 13 2021 Iker Pedrosa - 2:4.8.1-10 - Covscan fixes. Resolves: #1938871