Author: arekm Date: Sat Nov 27 18:18:02 2010 GMT Module: packages Tag: HEAD ---- Log message: - rel 4; don't abort due to fortify_source (false positive)
---- Files affected: packages/multipath-tools: multipath-tools.spec (1.72 -> 1.73) , multipath-tools-fortify.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/multipath-tools/multipath-tools.spec diff -u packages/multipath-tools/multipath-tools.spec:1.72 packages/multipath-tools/multipath-tools.spec:1.73 --- packages/multipath-tools/multipath-tools.spec:1.72 Mon Nov 22 10:07:54 2010 +++ packages/multipath-tools/multipath-tools.spec Sat Nov 27 19:17:57 2010 @@ -7,7 +7,7 @@ Summary(pl.UTF-8): Implementacja wielotrasowego dostępu do zasobów przy użyciu device-mappera Name: multipath-tools Version: 0.4.9 -Release: 3 +Release: 4 License: GPL v2 Group: Base Source0: http://christophe.varoqui.free.fr/multipath-tools/%{name}-%{version}.tar.bz2 @@ -23,6 +23,7 @@ Patch0: %{name}-llh.patch Patch1: %{name}-kpartx-udev.patch Patch2: config.patch +Patch3: %{name}-fortify.patch BuildRequires: device-mapper-devel >= 1.02.08 BuildRequires: libaio-devel BuildRequires: linux-libc-headers >= 2.6.12.0-5 @@ -115,6 +116,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %if %{with initrd} @@ -199,6 +201,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.73 2010/11/27 18:17:57 arekm +- rel 4; don't abort due to fortify_source (false positive) + Revision 1.72 2010/11/22 09:07:54 glen - change udev to requirement (multipath -v2 needs scsi_id program); rel 3 ================================================================ Index: packages/multipath-tools/multipath-tools-fortify.patch diff -u /dev/null packages/multipath-tools/multipath-tools-fortify.patch:1.1 --- /dev/null Sat Nov 27 19:18:02 2010 +++ packages/multipath-tools/multipath-tools-fortify.patch Sat Nov 27 19:17:57 2010 @@ -0,0 +1,12 @@ +diff -ur 1.org/libmultipath/log.c 1/libmultipath/log.c +--- 1.org/libmultipath/log.c 2010-05-22 14:01:58.000000000 +0200 ++++ 1/libmultipath/log.c 2010-11-27 19:14:10.979257334 +0100 +@@ -142,7 +142,7 @@ + la->empty = 0; + msg = (struct logmsg *)la->tail; + msg->prio = prio; +- strcpy((void *)&msg->str, buff); ++ memcpy((void *)&msg->str, buff, strlen(buff) + 1); + lastmsg->next = la->tail; + msg->next = la->head; + ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/multipath-tools/multipath-tools.spec?r1=1.72&r2=1.73&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
