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