Hello community,

here is the log from the commit of package 389-ds for openSUSE:Factory checked 
in at 2018-02-09 15:52:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/389-ds (Old)
 and      /work/SRC/openSUSE:Factory/.389-ds.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "389-ds"

Fri Feb  9 15:52:09 2018 rev:14 rq:574444 version:1.4.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/389-ds/389-ds.changes    2018-01-31 
19:54:27.522314643 +0100
+++ /work/SRC/openSUSE:Factory/.389-ds.new/389-ds.changes       2018-02-09 
15:52:14.073288180 +0100
@@ -1,0 +2,5 @@
+Fri Feb  2 01:31:25 UTC 2018 - mrueck...@suse.de
+
+- switch lib389 to use the python3-ldap subpackage
+
+-------------------------------------------------------------------
@@ -27,0 +33,5 @@
+
+-------------------------------------------------------------------
+Sun Jan 14 02:59:15 UTC 2018 - mrueck...@suse.de
+
+- add tw.patch to fix potential buffer overflow

New:
----
  tw.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ 389-ds.spec ++++++
--- /var/tmp/diff_new_pack.y7TvW4/_old  2018-02-09 15:52:15.921221807 +0100
+++ /var/tmp/diff_new_pack.y7TvW4/_new  2018-02-09 15:52:15.925221663 +0100
@@ -57,6 +57,7 @@
 Patch2:         0002-use-python2-for-selinux-detection.patch
 Patch3:         0003-fix-rm-non-existent-man-pages.patch
 Patch4:         simplify-lib389-setup-py.patch
+Patch5:         tw.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -78,6 +79,7 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 %if %{with lib389}
+BuildRequires:  %{python_module ldap >= 3.0}
 BuildRequires:  %{python_module pyasn1-modules}
 BuildRequires:  %{python_module pyasn1}
 BuildRequires:  %{python_module python-dateutil}
@@ -154,7 +156,6 @@
 Group:          System/Daemons
 Requires:       %{name} = %{version}
 
-# upgrade path from monolithic %{name} (including -libs & -devel) to %{name} + 
%{name}-snmp
 Obsoletes:      %{name} <= 1.3.6.2
 
 %description      snmp
@@ -164,9 +165,9 @@
 %package -n lib389
 Summary:        Python library for interacting with the 389 Directory Server
 Group:          Development/Languages/Python
+Requires:       %{use_python}-ldap >= 3.0
 Requires:       %{use_python}-pyasn1
 Requires:       %{use_python}-pyasn1-modules
-Requires:       %{use_python}-pyldap
 Requires:       %{use_python}-python-dateutil
 Requires:       %{use_python}-six
 Requires:       krb5
@@ -187,6 +188,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 # Make sure python3 is used in shebangs
@@ -196,7 +198,7 @@
 # TODO:
 # seems to have no effect --enable-perl \
 # warning that it might lead to instabilities --with-journald \
-
+touch docs/custom.css
 autoreconf -fi
 export CFLAGS="%{optflags}" # -std=gnu99"
 %configure \

++++++ tw.patch ++++++
diff --git a/src/libsds/sds/bpt/map.c b/src/libsds/sds/bpt/map.c
index 096a38bcc..ab7d38a42 100644
--- a/src/libsds/sds/bpt/map.c
+++ b/src/libsds/sds/bpt/map.c
@@ -332,7 +332,7 @@ sds_bptree_display(sds_bptree_instance *binst)
 {
     sds_result result = SDS_SUCCESS;
 
-    char *path = malloc(sizeof(char) * 20);
+    char *path = malloc(sizeof(char) * 32);
 #ifdef SDS_DEBUG
     sds_log("sds_bptree_display", "Writing step %03d\n", binst->print_iter);
 #endif

Reply via email to