Hello community,

here is the log from the commit of package mdadm for openSUSE:Factory checked 
in at 2016-05-08 10:39:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mdadm (Old)
 and      /work/SRC/openSUSE:Factory/.mdadm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mdadm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mdadm/mdadm.changes      2015-12-18 
21:50:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mdadm.new/mdadm.changes 2016-05-08 
10:39:02.000000000 +0200
@@ -1,0 +2,8 @@
+Wed May  4 04:56:42 UTC 2016 - [email protected]
+
+- New upstream release mdadm-3.4
+  Adds support for clustered-raid1 and journalled raid5
+- 0001-super1-Clear-memory-allocated-for-superblock-bitmap-.patch
+  Important upstream bugfix relating to uninialised memory.
+
+-------------------------------------------------------------------

Old:
----
  mdadm-3.3.4.tar.xz

New:
----
  0001-super1-Clear-memory-allocated-for-superblock-bitmap-.patch
  mdadm-3.4.tar.xz

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

Other differences:
------------------
++++++ mdadm.spec ++++++
--- /var/tmp/diff_new_pack.5zjBpw/_old  2016-05-08 10:39:03.000000000 +0200
+++ /var/tmp/diff_new_pack.5zjBpw/_new  2016-05-08 10:39:03.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mdadm
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           mdadm
-Version:        3.3.4
+Version:        3.4
 Release:        0
 BuildRequires:  binutils-devel
 BuildRequires:  groff
@@ -39,6 +39,7 @@
 Source2:        sysconfig.mdadm
 Source3:        cron.d.mdadm
 Source7:        mdadm.cron
+Patch1:         0001-super1-Clear-memory-allocated-for-superblock-bitmap-.patch
 
 %define _udevdir %(pkg-config --variable=udevdir udev)
 %define _systemdshutdowndir %{_unitdir}/../system-shutdown
@@ -50,6 +51,7 @@
 
 %prep
 %setup -q -a1
+%patch1 -p1
 
 %build
 make %{?_smp_mflags} CC="%__cc" CXFLAGS="$RPM_OPT_FLAGS -Wno-error" SUSE=yes

++++++ 0001-super1-Clear-memory-allocated-for-superblock-bitmap-.patch ++++++
>From 1dcee1c9cbcf9592275914706b76b1931490092c Mon Sep 17 00:00:00 2001
From: Jes Sorensen <[email protected]>
Date: Wed, 6 Apr 2016 16:13:59 -0400
Subject: [PATCH] super1: Clear memory allocated for superblock + bitmap before
 use

load_super1() did not clear memory allocated for the superblock +
bitmap. This causes issues if the superblock does not contain a bitmap
as later checks of bitmap features would rely on the bits being
cleared.

This bug has been around for a long time, but was only exposed in
mdadm-3.4 with the introduction of the clustering code.

Reported-by: Jan Stodola <[email protected]>
Signed-off-by: Jes Sorensen <[email protected]>
---
 super1.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/super1.c
+++ b/super1.c
@@ -2016,6 +2016,8 @@ static int load_super1(struct supertype
                return 1;
        }
 
+       memset(super, 0, SUPER1_SIZE);
+
        if (aread(&afd, super, MAX_SB_SIZE) != MAX_SB_SIZE) {
                if (devname)
                        pr_err("Cannot read superblock on %s\n",
++++++ mdadm-3.3.4.tar.xz -> mdadm-3.4.tar.xz ++++++
++++ 4003 lines of diff (skipped)


Reply via email to