Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libgsasl for openSUSE:Factory 
checked in at 2022-10-01 17:41:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgsasl (Old)
 and      /work/SRC/openSUSE:Factory/.libgsasl.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgsasl"

Sat Oct  1 17:41:51 2022 rev:36 rq:1006434 version:1.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgsasl/libgsasl.changes        2022-09-13 
15:07:42.412358435 +0200
+++ /work/SRC/openSUSE:Factory/.libgsasl.new.2275/libgsasl.changes      
2022-10-01 17:41:58.661541238 +0200
@@ -1,0 +2,5 @@
+Tue Sep 27 14:43:58 UTC 2022 - Dirk M??ller <[email protected]>
+
+- add build-fix-old-gcc.patch for older dists 
+
+-------------------------------------------------------------------

New:
----
  build-fix-old-gcc.patch

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

Other differences:
------------------
++++++ libgsasl.spec ++++++
--- /var/tmp/diff_new_pack.WRtikz/_old  2022-10-01 17:41:59.169542165 +0200
+++ /var/tmp/diff_new_pack.WRtikz/_new  2022-10-01 17:41:59.177542179 +0200
@@ -29,6 +29,7 @@
 # https://lists.gnu.org/archive/html/help-gsasl/2022-01/msg00002.html
 Patch1:         0001-Fix-build-issues-with-GCC-12-s-Werror-address.patch
 Patch2:         
https://gitlab.com/gsasl/gsasl/-/commit/796e4197f696261c1f872d7576371232330bcc30.patch#/boundary-check-CVE-2022-2469.patch
+Patch3:         build-fix-old-gcc.patch
 BuildRequires:  gcc-c++
 BuildRequires:  gettext-devel >= 0.19.8
 BuildRequires:  pkgconfig
@@ -76,6 +77,7 @@
 %setup -q
 %patch1 -p1
 %patch2 -p2
+%patch3 -p1
 
 %build
 %configure \

++++++ build-fix-old-gcc.patch ++++++
>From fde722a4036cba8d7bdf72f50e159e543e54a8c4 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <[email protected]>
Date: Sun, 24 Oct 2021 18:31:48 +0200
Subject: [PATCH] cicd: Fix builds.

---
 .gitlab-ci.yml      |  2 +-
 lib/src/mechtools.c | 13 ++++++-------
 2 files changed, 7 insertions(+), 8 deletions(-)

--- a/src/mechtools.c
+++ b/src/mechtools.c
@@ -225,17 +225,16 @@ _gsasl_gs2_generate_header (bool nonstd, char cbflag,
 void
 _gsasl_hex_encode (const char *in, size_t inlen, char *out)
 {
-  size_t i;
-  const char *p = in;
+  static const char trans[] = "0123456789abcdef";
 
-  for (i = 0; i < 2 * inlen;)
+  while (inlen--)
     {
-      unsigned char c = *p++;
-      out[i++] = "0123456789abcdef"[c >> 4];
-      out[i++] = "0123456789abcdef"[c & 0x0f];
+      unsigned char c = *in++;
+      *out++ = trans[(c >> 4) & 0xf];
+      *out++ = trans[c & 0xf];
     }
 
-  out[i] = '\0';
+  *out = '\0';
 }
 
 static char
-- 
GitLab

Reply via email to