From 897ef4d2048ce36266e3ad69e9c5800f0278c9c95d921edcf43784bbdc5d68f0 Mon Sep 17 00:00:00 2001 From: James McDonough Date: Fri, 10 Aug 2018 10:45:31 +0000 Subject: [PATCH 1/3] Accepting request 628465 from home:dmulder:branches:samba_gpo_test - Update to 1.4.1 + add some missing return value checks + Fix several mem leaks in ldb_index ldb_search ldb_tdb (bug#13475) + ldb_tdb: Use mem_ctx and so avoid leak onto long-term memory on duplicated add. (bug#13471) + ldb: Fix memory leak on module context (bug#13459) + Refused build of Samba 4.8 with ldb 1.4 (bug #13519) + Prevent similar issues in the future at configure time (bug #13519) - 1.4.0 + New LMDB backend (experimental) + Comprehensive tests for index behaviour + Enforce transactions for writes + Enforce read lock use for all reads + Fix memory leak in paged_results module. We hold at most 10 outstanding paged result cookies (bug #13362) + Fix compiler warnings + Python3 improvements + Restore --disable-python build + Fix for performance regression on one-level searches (bug #13448) + Samba's subtree_rename could fail to rename some entries (bug #13452) - 1.3.4 + Fix memory leaks and missing error checks (bug 13459, 13471, 13475) + Fix fallback to full scan (performance regression) on one-level search (bug 13448) + Fix read corruption (missing results) during writes, particularly during a Samba subtree rename (bug 13452) OBS-URL: https://build.opensuse.org/request/show/628465 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=123 --- ldb-1.3.3.tar.asc | 11 ----------- ldb-1.3.3.tar.gz | 3 --- ldb-1.4.1.tar.asc | 11 +++++++++++ ldb-1.4.1.tar.gz | 3 +++ ldb.changes | 33 +++++++++++++++++++++++++++++++++ ldb.spec | 29 ++++++++++++++++++++++++++--- 6 files changed, 73 insertions(+), 17 deletions(-) delete mode 100644 ldb-1.3.3.tar.asc delete mode 100644 ldb-1.3.3.tar.gz create mode 100644 ldb-1.4.1.tar.asc create mode 100644 ldb-1.4.1.tar.gz diff --git a/ldb-1.3.3.tar.asc b/ldb-1.3.3.tar.asc deleted file mode 100644 index 1c4766a..0000000 --- a/ldb-1.3.3.tar.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQEcBAABAgAGBQJa6hPTAAoJEEeTkWETCEAllFAIAI7UeyrNimG/Mkf4y+z8BbnU -9IXXpn+aC18ULYanc0ZJ6y0LxKS3EnKDos6CA85YQcL3KAeBX86hfPJ1f/LCafhd -7L6L93xJsSxim2UhgkL6kks8S8IiahjLc8SHvlaznHyrCFAAIKftlkUpQvhxmp2K -XFrrWtb/2TvvLhH4tkjf0f6ZbJop5kaVvMD49KO382u1wX4Glw+SdhNBn43hg7tW -FZpJwC8HyuJ741w6EkqRSvTRjUqIb9OiIJr07DtnbSEpzVQ5ioowxYkopTjeTTII -o4JOvzB/nZKZClHL/yJ921xdSnhYtxWIJhI4KGobD4kxUIZeGP2PYUnIoSlRovg= -=lGEB ------END PGP SIGNATURE----- diff --git a/ldb-1.3.3.tar.gz b/ldb-1.3.3.tar.gz deleted file mode 100644 index 7d7857e..0000000 --- a/ldb-1.3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b3070f6127d9684e928038abad441e18aef8c2ce703c3ec5d57fadd4ecdfa91 -size 1370823 diff --git a/ldb-1.4.1.tar.asc b/ldb-1.4.1.tar.asc new file mode 100644 index 0000000..221987c --- /dev/null +++ b/ldb-1.4.1.tar.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQFJBAABCgAzFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAltG7WEVHHNhbWJhLWJ1 +Z3NAc2FtYmEub3JnAAoJEEeTkWETCEAlt9wIAKTlg33LItrtDS7Po3aI1ggPJXtm +xf9ARAa0opRFjQ49rkLazAseC/bmdQ6fiEevPXtPpSFw5P2zxUpTIAZe1D309dRM ++jhIsHRQHJ89VCXUqPvDX8KV/t7dDQo5dd+X9ZtB3M3Fyux0UmdbCxNbDt2YmkhS +knim+Zk0uKpqNVvsGhIbmDWH8pbME5Hjda01uaM+UbJR/fVjRexNDNGapuEtMQyL +j+6ajO2WCtLJOfcYqSzpBh/PgYRv8azFJJhfekxLzmV8VGpRW8Ma5KBjN3+ecF4X +LeYztDKCecQqVOWj3ICzhVgiv5R/sonU46LK+S7NgftYZwkr2wgluRbH7XI= +=G+En +-----END PGP SIGNATURE----- diff --git a/ldb-1.4.1.tar.gz b/ldb-1.4.1.tar.gz new file mode 100644 index 0000000..cc04064 --- /dev/null +++ b/ldb-1.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2df13aa25b376b314ce24182c37691959019523de3cc5356c40c1a333b0890a2 +size 1427314 diff --git a/ldb.changes b/ldb.changes index 6eb2b61..dcb2ff2 100644 --- a/ldb.changes +++ b/ldb.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Wed Aug 8 16:45:29 UTC 2018 - dmulder@suse.com + +- Update to 1.4.1 + + add some missing return value checks + + Fix several mem leaks in ldb_index ldb_search ldb_tdb (bug#13475) + + ldb_tdb: Use mem_ctx and so avoid leak onto long-term memory + on duplicated add. (bug#13471) + + ldb: Fix memory leak on module context (bug#13459) + + Refused build of Samba 4.8 with ldb 1.4 (bug #13519) + + Prevent similar issues in the future at configure time (bug #13519) +- 1.4.0 + + New LMDB backend (experimental) + + Comprehensive tests for index behaviour + + Enforce transactions for writes + + Enforce read lock use for all reads + + Fix memory leak in paged_results module. + We hold at most 10 outstanding paged result cookies + (bug #13362) + + Fix compiler warnings + + Python3 improvements + + Restore --disable-python build + + Fix for performance regression on one-level searches + (bug #13448) + + Samba's subtree_rename could fail to rename some entries + (bug #13452) +- 1.3.4 + + Fix memory leaks and missing error checks (bug 13459, 13471, 13475) + + Fix fallback to full scan (performance regression) on + one-level search (bug 13448) + + Fix read corruption (missing results) during writes, particularly + during a Samba subtree rename (bug 13452) + ------------------------------------------------------------------- Wed May 23 10:36:02 UTC 2018 - jmcdonough@suse.com diff --git a/ldb.spec b/ldb.spec index e2f035d..8ead91a 100644 --- a/ldb.spec +++ b/ldb.spec @@ -25,7 +25,15 @@ %define with_python3 0 %endif -%define talloc_version 2.1.11 +%global with_lmdb 0 +%if 0%{?suse_version} > 1320 +%ifarch x86_64 +%global with_lmdb 1 +%endif +%endif + +%define lmdb_version 0.9.16 +%define talloc_version 2.1.14 %define tdb_version 1.3.15 %define tevent_version 0.9.36 @@ -54,8 +62,11 @@ BuildRequires: python-talloc-devel >= %{talloc_version} %if 0%{?suse_version} >= 1330 BuildRequires: libtirpc-devel %endif +%if %{with_lmdb} +BuildRequires: lmdb-devel >= %{lmdb_version} +%endif Url: https://ldb.samba.org/ -Version: 1.3.3 +Version: 1.4.1 Release: 0 Summary: An LDAP-like embedded database License: GPL-3.0-or-later @@ -74,6 +85,9 @@ LDB is an LDAP-like embedded database. %package -n libldb1 Summary: An LDAP-like embedded database Group: System/Libraries +%if %{with_lmdb} +Requires: lmdb >= %{lmdb_version} +%endif %description -n libldb1 LDB is an LDAP-like embedded database. @@ -171,6 +185,9 @@ CONFIGURE_OPTIONS="\ %if %{with_python3} --extra-python=/usr/bin/python3 \ %endif +%if !%{with_lmdb} + --without-ldb-lmdb \ +%endif " ./configure ${CONFIGURE_OPTIONS} make %{?_smp_mflags} \ @@ -180,7 +197,7 @@ doxygen Doxyfile rm -f apidocs/man/man3/_*_ldb-%{version}_include_.3 %check -%ifnarch ppc64 s390x +%if %{with_lmdb} LD_LIBRARY_PATH="bin/shared:bin/shared/private" \ LDB_MODULES_PATH="bin/modules" \ make test @@ -226,6 +243,12 @@ sed -i 's;-lpyldb-util.%{py3_soflags_dash};-lpyldb-util.%{py3_soflags};g' %{buil %ifarch ppc %{_libdir}/ldb/libcmocka-ldb.so %endif +%{_libdir}/ldb/ldb.so +%{_libdir}/ldb/libldb-key-value.so +%if %{with_lmdb} +%{_libdir}/ldb/libldb-mdb-int.so +%{_libdir}/ldb/mdb.so +%endif %files -n libldb-devel %defattr(-,root,root) From 4f76a2cd3786a5df3e5bb658ee345f4d75cc303aeecf5eafd204db57bf882f3e Mon Sep 17 00:00:00 2001 From: Aurelien Aptel Date: Tue, 14 Aug 2018 14:27:24 +0000 Subject: [PATCH 2/3] Accepting request 629228 from home:dmulder:branches:fix_ldb Revert to 1.3.3 OBS-URL: https://build.opensuse.org/request/show/629228 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=124 --- ldb-1.3.3.tar.asc | 11 +++++++++++ ldb-1.3.3.tar.gz | 3 +++ ldb-1.4.1.tar.asc | 11 ----------- ldb-1.4.1.tar.gz | 3 --- ldb.changes | 33 --------------------------------- ldb.spec | 29 +++-------------------------- 6 files changed, 17 insertions(+), 73 deletions(-) create mode 100644 ldb-1.3.3.tar.asc create mode 100644 ldb-1.3.3.tar.gz delete mode 100644 ldb-1.4.1.tar.asc delete mode 100644 ldb-1.4.1.tar.gz diff --git a/ldb-1.3.3.tar.asc b/ldb-1.3.3.tar.asc new file mode 100644 index 0000000..1c4766a --- /dev/null +++ b/ldb-1.3.3.tar.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQEcBAABAgAGBQJa6hPTAAoJEEeTkWETCEAllFAIAI7UeyrNimG/Mkf4y+z8BbnU +9IXXpn+aC18ULYanc0ZJ6y0LxKS3EnKDos6CA85YQcL3KAeBX86hfPJ1f/LCafhd +7L6L93xJsSxim2UhgkL6kks8S8IiahjLc8SHvlaznHyrCFAAIKftlkUpQvhxmp2K +XFrrWtb/2TvvLhH4tkjf0f6ZbJop5kaVvMD49KO382u1wX4Glw+SdhNBn43hg7tW +FZpJwC8HyuJ741w6EkqRSvTRjUqIb9OiIJr07DtnbSEpzVQ5ioowxYkopTjeTTII +o4JOvzB/nZKZClHL/yJ921xdSnhYtxWIJhI4KGobD4kxUIZeGP2PYUnIoSlRovg= +=lGEB +-----END PGP SIGNATURE----- diff --git a/ldb-1.3.3.tar.gz b/ldb-1.3.3.tar.gz new file mode 100644 index 0000000..7d7857e --- /dev/null +++ b/ldb-1.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b3070f6127d9684e928038abad441e18aef8c2ce703c3ec5d57fadd4ecdfa91 +size 1370823 diff --git a/ldb-1.4.1.tar.asc b/ldb-1.4.1.tar.asc deleted file mode 100644 index 221987c..0000000 --- a/ldb-1.4.1.tar.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQFJBAABCgAzFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAltG7WEVHHNhbWJhLWJ1 -Z3NAc2FtYmEub3JnAAoJEEeTkWETCEAlt9wIAKTlg33LItrtDS7Po3aI1ggPJXtm -xf9ARAa0opRFjQ49rkLazAseC/bmdQ6fiEevPXtPpSFw5P2zxUpTIAZe1D309dRM -+jhIsHRQHJ89VCXUqPvDX8KV/t7dDQo5dd+X9ZtB3M3Fyux0UmdbCxNbDt2YmkhS -knim+Zk0uKpqNVvsGhIbmDWH8pbME5Hjda01uaM+UbJR/fVjRexNDNGapuEtMQyL -j+6ajO2WCtLJOfcYqSzpBh/PgYRv8azFJJhfekxLzmV8VGpRW8Ma5KBjN3+ecF4X -LeYztDKCecQqVOWj3ICzhVgiv5R/sonU46LK+S7NgftYZwkr2wgluRbH7XI= -=G+En ------END PGP SIGNATURE----- diff --git a/ldb-1.4.1.tar.gz b/ldb-1.4.1.tar.gz deleted file mode 100644 index cc04064..0000000 --- a/ldb-1.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2df13aa25b376b314ce24182c37691959019523de3cc5356c40c1a333b0890a2 -size 1427314 diff --git a/ldb.changes b/ldb.changes index dcb2ff2..6eb2b61 100644 --- a/ldb.changes +++ b/ldb.changes @@ -1,36 +1,3 @@ -------------------------------------------------------------------- -Wed Aug 8 16:45:29 UTC 2018 - dmulder@suse.com - -- Update to 1.4.1 - + add some missing return value checks - + Fix several mem leaks in ldb_index ldb_search ldb_tdb (bug#13475) - + ldb_tdb: Use mem_ctx and so avoid leak onto long-term memory - on duplicated add. (bug#13471) - + ldb: Fix memory leak on module context (bug#13459) - + Refused build of Samba 4.8 with ldb 1.4 (bug #13519) - + Prevent similar issues in the future at configure time (bug #13519) -- 1.4.0 - + New LMDB backend (experimental) - + Comprehensive tests for index behaviour - + Enforce transactions for writes - + Enforce read lock use for all reads - + Fix memory leak in paged_results module. - We hold at most 10 outstanding paged result cookies - (bug #13362) - + Fix compiler warnings - + Python3 improvements - + Restore --disable-python build - + Fix for performance regression on one-level searches - (bug #13448) - + Samba's subtree_rename could fail to rename some entries - (bug #13452) -- 1.3.4 - + Fix memory leaks and missing error checks (bug 13459, 13471, 13475) - + Fix fallback to full scan (performance regression) on - one-level search (bug 13448) - + Fix read corruption (missing results) during writes, particularly - during a Samba subtree rename (bug 13452) - ------------------------------------------------------------------- Wed May 23 10:36:02 UTC 2018 - jmcdonough@suse.com diff --git a/ldb.spec b/ldb.spec index 8ead91a..e2f035d 100644 --- a/ldb.spec +++ b/ldb.spec @@ -25,15 +25,7 @@ %define with_python3 0 %endif -%global with_lmdb 0 -%if 0%{?suse_version} > 1320 -%ifarch x86_64 -%global with_lmdb 1 -%endif -%endif - -%define lmdb_version 0.9.16 -%define talloc_version 2.1.14 +%define talloc_version 2.1.11 %define tdb_version 1.3.15 %define tevent_version 0.9.36 @@ -62,11 +54,8 @@ BuildRequires: python-talloc-devel >= %{talloc_version} %if 0%{?suse_version} >= 1330 BuildRequires: libtirpc-devel %endif -%if %{with_lmdb} -BuildRequires: lmdb-devel >= %{lmdb_version} -%endif Url: https://ldb.samba.org/ -Version: 1.4.1 +Version: 1.3.3 Release: 0 Summary: An LDAP-like embedded database License: GPL-3.0-or-later @@ -85,9 +74,6 @@ LDB is an LDAP-like embedded database. %package -n libldb1 Summary: An LDAP-like embedded database Group: System/Libraries -%if %{with_lmdb} -Requires: lmdb >= %{lmdb_version} -%endif %description -n libldb1 LDB is an LDAP-like embedded database. @@ -185,9 +171,6 @@ CONFIGURE_OPTIONS="\ %if %{with_python3} --extra-python=/usr/bin/python3 \ %endif -%if !%{with_lmdb} - --without-ldb-lmdb \ -%endif " ./configure ${CONFIGURE_OPTIONS} make %{?_smp_mflags} \ @@ -197,7 +180,7 @@ doxygen Doxyfile rm -f apidocs/man/man3/_*_ldb-%{version}_include_.3 %check -%if %{with_lmdb} +%ifnarch ppc64 s390x LD_LIBRARY_PATH="bin/shared:bin/shared/private" \ LDB_MODULES_PATH="bin/modules" \ make test @@ -243,12 +226,6 @@ sed -i 's;-lpyldb-util.%{py3_soflags_dash};-lpyldb-util.%{py3_soflags};g' %{buil %ifarch ppc %{_libdir}/ldb/libcmocka-ldb.so %endif -%{_libdir}/ldb/ldb.so -%{_libdir}/ldb/libldb-key-value.so -%if %{with_lmdb} -%{_libdir}/ldb/libldb-mdb-int.so -%{_libdir}/ldb/mdb.so -%endif %files -n libldb-devel %defattr(-,root,root) From 934e8f88bb4e227cd0214c5d69f9be5eb5b4e8568e6cf6496d9644f3b2409c45 Mon Sep 17 00:00:00 2001 From: James McDonough Date: Wed, 15 Aug 2018 22:13:10 +0000 Subject: [PATCH 3/3] Accepting request 629476 from home:dmulder:branches:ldb_fix - Add fix_ldb_mod_op_test.patch: Fix missing NULL terminator in ldb_mod_op_test testsuite - Update to 1.3.5 + Security fix for CVE-2018-1140 (NULL pointer de-reference, bug #13374). - 1.3.4 + Fix memory leaks and missing error checks (bug #13459, #13471, #13475). + Fix fallback to full scan (performance regression) on one-level search (bug #13448). + Fix read corruption (missing results) during writes, particularly during a Samba subtree rename (bug #13452). OBS-URL: https://build.opensuse.org/request/show/629476 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=125 --- fix_ldb_mod_op_test.patch | 31 +++++++++++++++++++++++++++++++ ldb-1.3.3.tar.asc | 11 ----------- ldb-1.3.3.tar.gz | 3 --- ldb-1.3.5.tar.asc | 11 +++++++++++ ldb-1.3.5.tar.gz | 3 +++ ldb.changes | 20 ++++++++++++++++++++ ldb.spec | 4 +++- 7 files changed, 68 insertions(+), 15 deletions(-) create mode 100644 fix_ldb_mod_op_test.patch delete mode 100644 ldb-1.3.3.tar.asc delete mode 100644 ldb-1.3.3.tar.gz create mode 100644 ldb-1.3.5.tar.asc create mode 100644 ldb-1.3.5.tar.gz diff --git a/fix_ldb_mod_op_test.patch b/fix_ldb_mod_op_test.patch new file mode 100644 index 0000000..4fc421f --- /dev/null +++ b/fix_ldb_mod_op_test.patch @@ -0,0 +1,31 @@ +commit f8b368c9f0c2a34b6d15303a9d6facd762e1a517 +Author: Andrew Bartlett +Date: Thu Mar 8 14:01:50 2018 +1300 + + ldb: Fix missing NULL terminator in ldb_mod_op_test testsuite + + Signed-off-by: Andrew Bartlett + Reviewed-by: Gary Lockyer + +diff --git a/lib/ldb/tests/ldb_mod_op_test.c b/lib/ldb/tests/ldb_mod_op_test.c +index d024ab66e3e..59fc766e918 100644 +--- a/tests/ldb_mod_op_test.c ++++ b/tests/ldb_mod_op_test.c +@@ -3099,7 +3099,7 @@ static int ldb_unique_index_test_setup(void **state) + "dn: @INDEXLIST\n" + "@IDXATTR: cn\n" + "\n"; +- const char *options[] = {"modules:unique_index_test"}; ++ const char *options[] = {"modules:unique_index_test", NULL}; + + + ret = ldb_register_module(&ldb_unique_index_test_module_ops); +@@ -3201,7 +3201,7 @@ static int ldb_non_unique_index_test_setup(void **state) + "dn: @INDEXLIST\n" + "@IDXATTR: cn\n" + "\n"; +- const char *options[] = {"modules:unique_index_test"}; ++ const char *options[] = {"modules:unique_index_test", NULL}; + + + ret = ldb_register_module(&ldb_unique_index_test_module_ops); diff --git a/ldb-1.3.3.tar.asc b/ldb-1.3.3.tar.asc deleted file mode 100644 index 1c4766a..0000000 --- a/ldb-1.3.3.tar.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQEcBAABAgAGBQJa6hPTAAoJEEeTkWETCEAllFAIAI7UeyrNimG/Mkf4y+z8BbnU -9IXXpn+aC18ULYanc0ZJ6y0LxKS3EnKDos6CA85YQcL3KAeBX86hfPJ1f/LCafhd -7L6L93xJsSxim2UhgkL6kks8S8IiahjLc8SHvlaznHyrCFAAIKftlkUpQvhxmp2K -XFrrWtb/2TvvLhH4tkjf0f6ZbJop5kaVvMD49KO382u1wX4Glw+SdhNBn43hg7tW -FZpJwC8HyuJ741w6EkqRSvTRjUqIb9OiIJr07DtnbSEpzVQ5ioowxYkopTjeTTII -o4JOvzB/nZKZClHL/yJ921xdSnhYtxWIJhI4KGobD4kxUIZeGP2PYUnIoSlRovg= -=lGEB ------END PGP SIGNATURE----- diff --git a/ldb-1.3.3.tar.gz b/ldb-1.3.3.tar.gz deleted file mode 100644 index 7d7857e..0000000 --- a/ldb-1.3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b3070f6127d9684e928038abad441e18aef8c2ce703c3ec5d57fadd4ecdfa91 -size 1370823 diff --git a/ldb-1.3.5.tar.asc b/ldb-1.3.5.tar.asc new file mode 100644 index 0000000..cc17826 --- /dev/null +++ b/ldb-1.3.5.tar.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQFJBAABCgAzFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAltymLkVHHNhbWJhLWJ1 +Z3NAc2FtYmEub3JnAAoJEEeTkWETCEAlkpYIAK+8BqdhMKah1mIebqFahqqqSYVj +piAViKtkeu7/wn7S/D/lJ+XwTGT/VdWOgwMQGCrmDqH0YWyNR8KUAum57kdtfMbA +18pHesusufAVvAGlDRgEtyKI/Pt6ma7DeBWrYt4PgYBmVBWhbZBmEkWz2bysAtnT +cPrMROaiMoMno86yEISXFbjC+pO2xx4dL7sXuINn9CWnJ3ErMVyzBg3gsahL3cYN +yJ9Rykc57Ns0HAOhuyjp1vR4F2yWkk7OeHMZJAVkXmqfBFq64p6ZWhBLslPNyhMs +vUijQuLX8dW5Qq0kNWgVWrqVJtGTbdHLsW9vGN+9a1JFf6xgzXH+AtHdcWc= +=VZ1L +-----END PGP SIGNATURE----- diff --git a/ldb-1.3.5.tar.gz b/ldb-1.3.5.tar.gz new file mode 100644 index 0000000..03da688 --- /dev/null +++ b/ldb-1.3.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c26efac83efea0b467a4afab413ed91557f0c299428114bf92f72fb7d03b4f6 +size 1374214 diff --git a/ldb.changes b/ldb.changes index 6eb2b61..26d3c47 100644 --- a/ldb.changes +++ b/ldb.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Aug 15 21:52:13 UTC 2018 - dmulder@suse.com + +- Add fix_ldb_mod_op_test.patch: Fix missing NULL terminator in + ldb_mod_op_test testsuite + +------------------------------------------------------------------- +Tue Aug 14 20:35:30 UTC 2018 - dmulder@suse.com + +- Update to 1.3.5 + + Security fix for CVE-2018-1140 (NULL pointer de-reference, + bug #13374). +- 1.3.4 + + Fix memory leaks and missing error checks (bug #13459, #13471, + #13475). + + Fix fallback to full scan (performance regression) on + one-level search (bug #13448). + + Fix read corruption (missing results) during writes, + particularly during a Samba subtree rename (bug #13452). + ------------------------------------------------------------------- Wed May 23 10:36:02 UTC 2018 - jmcdonough@suse.com diff --git a/ldb.spec b/ldb.spec index e2f035d..e395c98 100644 --- a/ldb.spec +++ b/ldb.spec @@ -55,7 +55,7 @@ BuildRequires: python-talloc-devel >= %{talloc_version} BuildRequires: libtirpc-devel %endif Url: https://ldb.samba.org/ -Version: 1.3.3 +Version: 1.3.5 Release: 0 Summary: An LDAP-like embedded database License: GPL-3.0-or-later @@ -65,6 +65,7 @@ Source1: https://download.samba.org/pub/ldb/ldb-%{version}.tar.asc Source2: ldb.keyring Source4: baselibs.conf Patch0: ldb-python3.5-fix-soabi_name.patch +Patch1: fix_ldb_mod_op_test.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -145,6 +146,7 @@ LDB library. %prep %setup -n ldb-%{version} -q %patch0 -p1 +%patch1 -p1 %build %if 0%{?suse_version} > 1110