Hello community,

here is the log from the commit of package nfs-utils for openSUSE:Factory 
checked in at 2015-12-03 13:29:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nfs-utils (Old)
 and      /work/SRC/openSUSE:Factory/.nfs-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nfs-utils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nfs-utils/nfs-utils.changes      2015-11-24 
22:31:48.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.nfs-utils.new/nfs-utils.changes 2015-12-03 
13:29:34.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Nov 26 16:17:42 UTC 2015 - [email protected]
+
+- nfs-utils-uninit-mem.patch: fix use of uninitialized memory (bsc#956743)
+
+-------------------------------------------------------------------

New:
----
  nfs-utils-uninit-mem.patch

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

Other differences:
------------------
++++++ nfs-utils.spec ++++++
--- /var/tmp/diff_new_pack.UIiyT2/_old  2015-12-03 13:29:35.000000000 +0100
+++ /var/tmp/diff_new_pack.UIiyT2/_new  2015-12-03 13:29:35.000000000 +0100
@@ -19,6 +19,7 @@
 Name:           nfs-utils
 BuildRequires:  device-mapper-devel
 BuildRequires:  e2fsprogs-devel
+BuildRequires:  fedfs-utils-devel
 BuildRequires:  gcc-c++
 BuildRequires:  krb5-devel
 BuildRequires:  libevent-devel
@@ -30,9 +31,8 @@
 BuildRequires:  nfsidmap-devel >= 0.24
 BuildRequires:  pkgconfig
 BuildRequires:  sqlite3-devel
-BuildRequires:  tcpd-devel
 BuildRequires:  systemd-rpm-macros
-BuildRequires:  fedfs-utils-devel
+BuildRequires:  tcpd-devel
 Url:            http://kernel.org/pub/linux/utils/nfs-utils/
 Summary:        Support Utilities for Kernel nfsd
 License:        GPL-2.0+
@@ -62,6 +62,7 @@
 Source18:       nfs-client.nfs.conf
 Patch0:         nfs-utils-1.0.7-bind-syntax.patch
 Patch1:         nfs-utils-no-svcgss.service
+Patch2:         nfs-utils-uninit-mem.patch
 Suggests:       python-base
 
 %description
@@ -113,6 +114,7 @@
 %setup -q -n nfs-utils-%{version} -a 1
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 cp %{S:6} .
 
 %build


++++++ nfs-utils-uninit-mem.patch ++++++
Index: nfs-utils-1.3.3/utils/mount/network.c
===================================================================
--- nfs-utils-1.3.3.orig/utils/mount/network.c
+++ nfs-utils-1.3.3/utils/mount/network.c
@@ -1626,7 +1626,10 @@ int nfs_options2pmap(struct mount_option
                return 0;
        if (!nfs_nfs_version(options, &version))
                return 0;
-       nfs_pmap->pm_vers = version.major;
+       if (version.v_mode == V_DEFAULT)
+               nfs_pmap->pm_vers = 0;
+       else
+               nfs_pmap->pm_vers = version.major;
        if (!nfs_nfs_protocol(options, &nfs_pmap->pm_prot))
                return 0;
        if (!nfs_nfs_port(options, &nfs_pmap->pm_port))

Reply via email to