Hello community,

here is the log from the commit of package biosdevname for openSUSE:Factory 
checked in at 2018-05-25 21:35:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/biosdevname (Old)
 and      /work/SRC/openSUSE:Factory/.biosdevname.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "biosdevname"

Fri May 25 21:35:20 2018 rev:45 rq:611657 version:0.7.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/biosdevname/biosdevname.changes  2018-03-30 
11:57:55.742331635 +0200
+++ /work/SRC/openSUSE:Factory/.biosdevname.new/biosdevname.changes     
2018-05-25 21:35:22.668174514 +0200
@@ -1,0 +2,8 @@
+Wed May 23 11:32:02 UTC 2018 - josef.moell...@suse.com
+
+- Prevent infinite recursion in dmidecode.c::smbios_setslot by
+  checking that subordinate bus has a number greater than the
+  current bus.
+  [bsc#1093625, dmidecode-prevent-infinite-recursion.patch]
+
+-------------------------------------------------------------------

New:
----
  dmidecode-prevent-infinite-recursion.patch

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

Other differences:
------------------
++++++ biosdevname.spec ++++++
--- /var/tmp/diff_new_pack.9XHNp5/_old  2018-05-25 21:35:23.276152510 +0200
+++ /var/tmp/diff_new_pack.9XHNp5/_new  2018-05-25 21:35:23.276152510 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package biosdevname
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,7 @@
 Patch3:         udev-rule-path.patch
 Patch4:         biosdevname-pic.patch
 Patch5:         biosdevname-dom0.patch
+Patch6:         dmidecode-prevent-infinite-recursion.patch
 BuildRequires:  automake
 # to figure out how to name/location of the rules file
 BuildRequires:  libudev-devel
@@ -69,6 +70,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 sed -i -e 
's#@@BIOSDEVNAME_RULEDEST@@#'%{_udevrulesdir}'/71-biosdevname.rules#' 
configure.ac

++++++ dmidecode-prevent-infinite-recursion.patch ++++++
Index: biosdevname-0.7.3/src/dmidecode/dmidecode.c
===================================================================
--- biosdevname-0.7.3.orig/src/dmidecode/dmidecode.c
+++ biosdevname-0.7.3/src/dmidecode/dmidecode.c
@@ -153,7 +153,7 @@ void smbios_setslot(const struct libbios
                }
     
                /* Found a PDEV, now is it a bridge? */
-               if (pdev->sbus != -1) {
+               if (pdev->sbus != -1 && pdev->sbus > bus) {
                        smbios_setslot(state, domain, pdev->sbus, -1, -1, type, 
slot, index, label);
                }
        }

Reply via email to