commit multipath-tools for openSUSE:Factory
Hello community, here is the log from the commit of package multipath-tools for openSUSE:Factory checked in at Mon Mar 1 01:45:03 CET 2010. -------- --- multipath-tools/multipath-tools.changes 2010-01-27 09:16:28.000000000 +0100 +++ /mounts/work_src_done/STABLE/multipath-tools/multipath-tools.changes 2010-02-26 13:37:34.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Feb 26 12:37:10 UTC 2010 - coolo@novell.com + +- fix buffer overflow in strncat + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- fixbuffers.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ multipath-tools.spec ++++++ --- /var/tmp/diff_new_pack.1u11Mj/_old 2010-03-01 01:44:54.000000000 +0100 +++ /var/tmp/diff_new_pack.1u11Mj/_new 2010-03-01 01:44:54.000000000 +0100 @@ -27,12 +27,13 @@ PreReq: %insserv_prereq %fillup_prereq coreutils grep AutoReqProv: on Version: 0.4.8 -Release: 45 +Release: 46 Summary: Tools to Manage Multipathed Devices with the device-mapper Source: multipath-tools-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: %{name}-%{version}-opensuse-11.2.diff.bz2 Patch1: remove-stacked-partitions.diff +Patch2: fixbuffers.diff %description This package provides the tools to manage multipathed devices by @@ -75,6 +76,7 @@ %setup -q -n multipath-tools-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build # This package failed when testing with -Wl,-as-needed being default. ++++++ fixbuffers.diff ++++++ Index: multipath-tools-0.4.8/libmultipath/configure.c =================================================================== --- multipath-tools-0.4.8.orig/libmultipath/configure.c 2010-02-26 13:34:41.000000000 +0100 +++ multipath-tools-0.4.8/libmultipath/configure.c 2010-02-26 13:35:31.000000000 +0100 @@ -167,7 +167,7 @@ select_action (struct multipath * mpp, v if (!find_mp_by_wwid(curmp, mpp->wwid)) { condlog(2, "%s: remove (wwid changed)", cmpp->alias); dm_flush_map(mpp->alias); - strncat(cmpp->wwid, mpp->wwid, WWID_SIZE); + strncat(cmpp->wwid, mpp->wwid, WWID_SIZE-strlen(cmpp->wwid)-1); drop_multipath(curmp, cmpp->wwid, KEEP_PATHS); mpp->action = ACT_CREATE; condlog(3, "%s: set ACT_CREATE (map wwid change)", ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de