Hello community,

here is the log from the commit of package libcpuset for openSUSE:Factory 
checked in at 2016-06-19 10:49:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcpuset (Old)
 and      /work/SRC/openSUSE:Factory/.libcpuset.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcpuset"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcpuset/libcpuset.changes      2016-05-23 
16:39:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libcpuset.new/libcpuset.changes 2016-06-19 
10:49:33.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Jun 15 16:53:24 UTC 2016 - mgalbra...@suse.com
+
+- Add missing patch.  (SUSE bnc#546310, bnc#984832)
+
+- Patches added by this commit:
+  libcpuset-init-buf-2.patch
+
+-------------------------------------------------------------------

New:
----
  libcpuset-init-buf-2.patch

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

Other differences:
------------------
++++++ libcpuset.spec ++++++
--- /var/tmp/diff_new_pack.bsXt6e/_old  2016-06-19 10:49:34.000000000 +0200
+++ /var/tmp/diff_new_pack.bsXt6e/_new  2016-06-19 10:49:34.000000000 +0200
@@ -31,6 +31,7 @@
 Patch3:         libcpuset-agnostic-mountpoint.diff
 Patch4:         libcpuset-handle-cgroup-mount.diff
 Patch5:         
libcpuset-robustify-cpuset_pin-cpuset_size-cpuset_where-error-handling.diff
+Patch6:         libcpuset-init-buf-2.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libbitmask-devel
@@ -73,6 +74,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 sed -i -e 's@-Werror@@g' configure.in

++++++ libcpuset-init-buf-2.patch ++++++
Subject: Fix buf initialization (bnc#546310, bnc#984832)
From: Derek Fults <dfu...@sgi.com>
Date: 2009-11-11 18:22 UTC

Signed-off-by: Derek Fults <dfu...@sgi.com>
Signed-off-by: Mike Galbraith <mgalbra...@suse.de>
---

 libcpuset.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/libcpuset.c
+++ b/libcpuset.c
@@ -3355,6 +3355,8 @@ int cpuset_latestcpu(pid_t pid)
 
        if ((fd = open(buf, O_RDONLY)) < 0)
                goto err;
+
+        memset(buf, '\0', sizeof(buf));
        if (read(fd, buf, sizeof(buf)) < 1)
                goto err;
        close(fd);

Reply via email to