import slapi-nis-0.56.6-4.module+el8.5.0+12583+bf7ffcf6
This commit is contained in:
parent
081105f03d
commit
1fb5ee0831
27
SOURCES/slapi-nis-bz1967906.patch
Normal file
27
SOURCES/slapi-nis-bz1967906.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 02a9cb46ece79d6205a847e6941a772febe47cff Mon Sep 17 00:00:00 2001
|
||||||
|
From: Viktor Ashirov <vashirov@redhat.com>
|
||||||
|
Date: Thu, 5 Aug 2021 16:04:49 +0200
|
||||||
|
Subject: [PATCH] back-sch: fix memory leak in backend_search_cb()
|
||||||
|
|
||||||
|
Resolves: rhbz#1967906
|
||||||
|
|
||||||
|
Signed-off-by: Viktor Ashirov <vashirov@redhat.com>
|
||||||
|
---
|
||||||
|
src/back-sch.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/back-sch.c b/src/back-sch.c
|
||||||
|
index 0ed06fb..172d619 100644
|
||||||
|
--- a/src/back-sch.c
|
||||||
|
+++ b/src/back-sch.c
|
||||||
|
@@ -1793,6 +1793,7 @@ backend_search_cb(Slapi_PBlock *pb)
|
||||||
|
slapi_ch_free_string(&target);
|
||||||
|
if (cbdata.answer == FALSE) {
|
||||||
|
/* None of the configured trees in the sets matched the target at all, ignore search */
|
||||||
|
+ slapi_sdn_free(&cbdata.target_dn);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: slapi-nis
|
Name: slapi-nis
|
||||||
Version: 0.56.6
|
Version: 0.56.6
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: NIS Server and Schema Compatibility plugins for Directory Server
|
Summary: NIS Server and Schema Compatibility plugins for Directory Server
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -21,6 +21,7 @@ Source1: https://releases.pagure.org/slapi-nis/slapi-nis-%{version}.tar.gz.asc
|
|||||||
Patch1: cve-2021-3480-fix.patch
|
Patch1: cve-2021-3480-fix.patch
|
||||||
Patch2: slapi-nis-bz1978189.patch
|
Patch2: slapi-nis-bz1978189.patch
|
||||||
Patch3: slapi-nis-bz1958909.patch
|
Patch3: slapi-nis-bz1958909.patch
|
||||||
|
Patch4: slapi-nis-bz1967906.patch
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -62,6 +63,7 @@ for attributes from multiple entries in the tree.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoconf --force
|
autoconf --force
|
||||||
@ -90,6 +92,9 @@ make check
|
|||||||
%{_sbindir}/nisserver-plugin-defs
|
%{_sbindir}/nisserver-plugin-defs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 13 2021 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.6-4
|
||||||
|
- Resolves: rhbz#1967906 - fix memory leak in backend_search_cb
|
||||||
|
|
||||||
* Thu Jul 01 2021 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.6-3
|
* Thu Jul 01 2021 Alexander Bokovoy <abokovoy@redhat.com> - 0.56.6-3
|
||||||
- Resolves: rhbz#1958909 - fix regression for scoped searches in compat tree
|
- Resolves: rhbz#1958909 - fix regression for scoped searches in compat tree
|
||||||
- Resolves: rhbz#1978189 - better handle error response from libsss_nss_idmap
|
- Resolves: rhbz#1978189 - better handle error response from libsss_nss_idmap
|
||||||
|
Loading…
Reference in New Issue
Block a user