Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tboot for openSUSE:Factory checked 
in at 2026-01-22 15:13:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tboot (Old)
 and      /work/SRC/openSUSE:Factory/.tboot.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tboot"

Thu Jan 22 15:13:47 2026 rev:53 rq:1328479 version:20250417_1.11.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/tboot/tboot.changes      2025-07-17 
17:26:45.067722072 +0200
+++ /work/SRC/openSUSE:Factory/.tboot.new.1928/tboot.changes    2026-01-22 
15:15:44.594145714 +0100
@@ -1,0 +2,7 @@
+Wed Jan 21 11:21:41 UTC 2026 - Matthias Gerstner <[email protected]>
+
+- add gcc16-compat.patch (bsc#1256989): gcc16 complains about an unused
+  variable in strpbrk_s. It seems the `slen` parameter is not enforced at all.
+  The patch changes that, hopefully without causing regressions.
+
+-------------------------------------------------------------------

New:
----
  gcc16-compat.patch

----------(New B)----------
  New:
- add gcc16-compat.patch (bsc#1256989): gcc16 complains about an unused
  variable in strpbrk_s. It seems the `slen` parameter is not enforced at all.
----------(New E)----------

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

Other differences:
------------------
++++++ tboot.spec ++++++
--- /var/tmp/diff_new_pack.mFjLKj/_old  2026-01-22 15:15:46.050206268 +0100
+++ /var/tmp/diff_new_pack.mFjLKj/_new  2026-01-22 15:15:46.050206268 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tboot
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,7 @@
 Patch5:         tboot-bsc#1207833-copy-mbi.patch
 Patch6:         tboot-fix-alloc-size-warning.patch
 Patch7:         tboot-cet.patch
+Patch8:         gcc16-compat.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %{ix86} x86_64
 BuildRequires:  openssl-devel

++++++ gcc16-compat.patch ++++++
Index: tboot-1.11.10/safestringlib/safeclib/strpbrk_s.c
===================================================================
--- tboot-1.11.10.orig/safestringlib/safeclib/strpbrk_s.c
+++ tboot-1.11.10/safestringlib/safeclib/strpbrk_s.c
@@ -92,7 +92,6 @@ strpbrk_s (char *dest, rsize_t dmax,
            char *src,  rsize_t slen, char **first)
 {
     char *ps;
-    rsize_t len;
 
     if (first == NULL) {
         invoke_safe_str_constraint_handler("strpbrk_s: count is null",
@@ -140,11 +139,10 @@ strpbrk_s (char *dest, rsize_t dmax,
     /*
      * look for a matching char in the substring src
      */
-    while (*dest && dmax) {
+    while (*dest && dmax && slen) {
 
         ps = src;
-        len = slen;
-        while (*ps) {
+        while (*ps && slen) {
 
             /* check for a match with the substring */
             if (*dest == *ps) {
@@ -152,7 +150,7 @@ strpbrk_s (char *dest, rsize_t dmax,
                 return RCNEGATE(EOK);
             }
             ps++;
-            len--;
+           slen--;
         }
         dest++;
         dmax--;

Reply via email to