Hello community,

here is the log from the commit of package acpi for openSUSE:Factory
checked in at Wed Apr 6 09:34:03 CEST 2011.



--------
--- acpi/acpi.changes   2010-10-02 21:23:47.000000000 +0200
+++ /mounts/work_src_done/STABLE/acpi/acpi.changes      2011-04-05 
16:10:02.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Apr  5 14:09:15 UTC 2011 - crrodrig...@opensuse.org
+
+- Fix memset-with-zero-length bug. 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  acpi-memset-with-zero-length.patch

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

Other differences:
------------------
++++++ acpi.spec ++++++
--- /var/tmp/diff_new_pack.VpaAE7/_old  2011-04-06 09:31:01.000000000 +0200
+++ /var/tmp/diff_new_pack.VpaAE7/_new  2011-04-06 09:31:01.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package acpi (Version 1.5)
+# spec file for package acpi
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 Name:           acpi
 Url:            http://sourceforge.net/projects/acpiclient/
 Version:        1.5
-Release:        1
+Release:        5
 License:        GPLv2+
 Group:          System/Daemons
 AutoReqProv:    on
@@ -32,6 +32,7 @@
 ExclusiveArch:  %ix86 x86_64 ia64
 # Package was split from acpid package
 Provides:       acpid:/usr/bin/acpi
+Patch:          acpi-memset-with-zero-length.patch
 
 %description
 Linux ACPI client is a small command-line program that attempts to
@@ -47,6 +48,7 @@
 
 %prep
 %setup -q
+%patch
 
 %build
 %configure

++++++ acpi-memset-with-zero-length.patch ++++++
--- acpi.c.orig
+++ acpi.c
@@ -492,7 +492,7 @@ void print_thermal_information(struct li
        double real_temp;
        int i, trip_points = -1;
 
-       memset(trip, sizeof trip, 0);
+       memset(trip, 0, sizeof trip);
        fields = sensor->data;
        while (fields) {
            value = fields->data;

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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to