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
This commit is contained in:
Iker Pedrosa 2021-07-14 10:48:58 +02:00
parent b1cf008689
commit 32eb05f002
2 changed files with 4 additions and 10 deletions

View File

@ -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

View File

@ -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 <ipedrosa@redhat.com> - 2:4.8.1-11
- Fix regression issues detected in rhbz#667593 and rhbz#672510. Resolves: #1938871
* Tue Jul 13 2021 Iker Pedrosa <ipedrosa@redhat.com> - 2:4.8.1-10
- Covscan fixes. Resolves: #1938871