Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2019-12-07 15:19:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and      /work/SRC/openSUSE:Factory/.cyrus-sasl.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cyrus-sasl"

Sat Dec  7 15:19:29 2019 rev:58 rq:751846 version:2.1.27

Changes:
--------
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2018-12-11 15:45:15.054376879 +0100
+++ 
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.4691/cyrus-sasl-saslauthd.changes    
    2019-12-07 15:23:00.783731927 +0100
@@ -1,0 +2,7 @@
+Thu Nov 28 20:07:43 UTC 2019 - Michael Ströder <[email protected]>
+
+- added backport-patch cyrus-sasl-bug587.patch which fixes
+  off-by-one error in _sasl_add_string function
+  (see https://github.com/cyrusimap/cyrus-sasl/issues/587)
+
+-------------------------------------------------------------------
cyrus-sasl.changes: same change

New:
----
  cyrus-sasl-bug587.patch

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

Other differences:
------------------
++++++ cyrus-sasl-saslauthd.spec ++++++
--- /var/tmp/diff_new_pack.xDOlU4/_old  2019-12-07 15:23:01.403731842 +0100
+++ /var/tmp/diff_new_pack.xDOlU4/_new  2019-12-07 15:23:01.423731839 +0100
@@ -36,6 +36,8 @@
 Source4:        saslauthd.service
 
 Patch:          cyrus-sasl.dif
+# see https://github.com/cyrusimap/cyrus-sasl/issues/587
+Patch1:         cyrus-sasl-bug587.patch
 Patch5:         cyrus-sasl-no_rpath.patch
 Patch6:         cyrus-sasl-lfs.patch
 Patch7:         fix_libpq-fe_include.diff
@@ -76,6 +78,7 @@
 %prep
 %setup -n cyrus-sasl-%{version} -a 1
 %patch
+%patch1 -p1
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1

++++++ cyrus-sasl.spec ++++++
--- /var/tmp/diff_new_pack.xDOlU4/_old  2019-12-07 15:23:01.447731836 +0100
+++ /var/tmp/diff_new_pack.xDOlU4/_new  2019-12-07 15:23:01.451731835 +0100
@@ -30,6 +30,8 @@
 Source2:        README.Source
 Source3:        baselibs.conf
 Patch:          cyrus-sasl.dif
+# see https://github.com/cyrusimap/cyrus-sasl/issues/587
+Patch1:         cyrus-sasl-bug587.patch
 Patch5:         cyrus-sasl-no_rpath.patch
 Patch6:         cyrus-sasl-lfs.patch
 Patch7:         fix_libpq-fe_include.diff
@@ -164,6 +166,7 @@
     rm -rf %{_builddir}/%{name}-%{version}/dlcompat-*
 fi
 %patch
+%patch1 -p1
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1

++++++ cyrus-sasl-bug587.patch ++++++
--- cyrus-sasl-2.1.27.orig/lib/common.c 2018-11-08 18:29:57.000000000 +0100
+++ cyrus-sasl-2.1.27/lib/common.c      2019-11-28 21:15:11.246656079 +0100
@@ -190,7 +190,7 @@
 
   if (add==NULL) add = "(null)";
 
-  addlen=strlen(add); /* only compute once */
+  addlen=strlen(add)+1; /* only compute once */
   if (_buf_alloc(out, alloclen, (*outlen)+addlen)!=SASL_OK)
     return SASL_NOMEM;

Reply via email to