Author: baggins                      Date: Sat Jun 23 23:06:28 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3
- fixed off-by-one in bcmxcp driver that caused access outside of cpu_name 
array and segfault

---- Files affected:
packages/nut:
   nut.spec (1.179 -> 1.180) , bcmxcp-off-by-one.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/nut/nut.spec
diff -u packages/nut/nut.spec:1.179 packages/nut/nut.spec:1.180
--- packages/nut/nut.spec:1.179 Sun Jun 24 00:20:02 2012
+++ packages/nut/nut.spec       Sun Jun 24 01:06:23 2012
@@ -13,7 +13,7 @@
 Summary(pl.UTF-8):     Sieciowe narzędzie do UPS-ów
 Name:          nut
 Version:       2.6.4
-Release:       2
+Release:       3
 License:       GPL
 Group:         Applications/System
 Source0:       
http://www.networkupstools.org/source/2.6/%{name}-%{version}.tar.gz
@@ -28,6 +28,7 @@
 Patch3:                %{name}-upssched-cmd-sysconf.patch
 Patch4:                %{name}-matrix.patch
 Patch5:                systemd-sysconfig.patch
+Patch6:                bcmxcp-off-by-one.patch
 URL:           http://www.networkupstools.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -192,6 +193,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
@@ -505,6 +507,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.180  2012/06/23 23:06:23  baggins
+- rel 3
+- fixed off-by-one in bcmxcp driver that caused access outside of cpu_name 
array and segfault
+
 Revision 1.179  2012/06/23 22:20:02  baggins
 - fixed triggers
 

================================================================
Index: packages/nut/bcmxcp-off-by-one.patch
diff -u /dev/null packages/nut/bcmxcp-off-by-one.patch:1.1
--- /dev/null   Sun Jun 24 01:06:28 2012
+++ packages/nut/bcmxcp-off-by-one.patch        Sun Jun 24 01:06:23 2012
@@ -0,0 +1,11 @@
+--- nut-2.6.4/drivers/bcmxcp.c~        2012-05-11 10:29:33.000000000 +0200
++++ nut-2.6.4/drivers/bcmxcp.c 2012-06-24 01:04:21.722366188 +0200
+@@ -1134,7 +1134,7 @@
+                       len--;
+                       ncpu++;
+ 
+-              } while ((len > 0) && (ncpu <= 5));
++              } while ((len > 0) && (ncpu < 5));
+ 
+               dstate_setinfo("ups.firmware", "%s", pTmp);
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/nut/nut.spec?r1=1.179&r2=1.180

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to