rpms/openhpi/devel openhpi-2.8.1-segfault.patch, NONE, 1.1 openhpi.spec, 1.53, 1.54
Phil Knirsch (pknirsch)
fedora-extras-commits at redhat.com
Fri Jul 20 13:50:37 UTC 2007
- Previous message: rpms/sendmail/devel sendmail-8.13.1-localdomain.patch, NONE, 1.1 sendmail.spec, 1.81, 1.82
- Next message: rpms/telepathy-salut/OLPC-2 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 telepathy-salut.spec, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pknirsch
Update of /cvs/pkgs/rpms/openhpi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9208
Modified Files:
openhpi.spec
Added Files:
openhpi-2.8.1-segfault.patch
Log Message:
- Fix for hpipower segfaulting when using -b option out of range (#247279)
openhpi-2.8.1-segfault.patch:
--- NEW FILE openhpi-2.8.1-segfault.patch ---
--- openhpi-2.8.1/clients/hpipower.c.segfault 2007-07-20 15:35:45.000000000 +0200
+++ openhpi-2.8.1/clients/hpipower.c 2007-07-20 15:37:06.000000000 +0200
@@ -301,7 +301,7 @@
/* execute the command */
- if (Status == SA_OK)
+ if (Status == SA_OK && (SelectedSystem < ComputerNumber))
{
HPI_POWER_DEBUG_PRINT("5.0 Executing the command\n\r");
// obtain the information for this computer
Index: openhpi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openhpi/devel/openhpi.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- openhpi.spec 17 Jul 2007 13:45:59 -0000 1.53
+++ openhpi.spec 20 Jul 2007 13:50:05 -0000 1.54
@@ -1,13 +1,14 @@
Summary: openhpi Hardware Platform Interface (HPI) library and tools
Name: openhpi
Version: 2.8.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: BSD
Group: System Environment/Base
Source: http://prdownloads.sourceforge.net/openhpi/%{name}-%{version}.tar.gz
Source1: openhpi.conf
Patch1: openhpi-2.8.0-werror.patch
Patch2: openhpi-2.8.1-snmp_bc_discover.patch
+Patch3: openhpi-2.8.1-segfault.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libsysfs-devel, net-snmp-devel, OpenIPMI-devel, glib2-devel
BuildRequires: elfutils-devel, rpm-devel, libtool-ltdl-devel, bzip2-devel
@@ -42,6 +43,7 @@
%setup -q
%patch1 -p1 -b .werror
%patch2 -p1 -b .snmp_bc_discover
+%patch3 -p1 -b .segfault
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
@@ -92,6 +94,9 @@
%changelog
+* Fri Jul 20 2007 Phil Knirsch <pknirsch at redhat.com> - 2.8.1-4
+- Fix for hpipower segfaulting when using -b option out of range (#247279)
+
* Tue Jul 17 2007 Phil Knirsch <pknirsch at redhat.com> - 2.8.1-3
- Fixed a bug where the snmp_bc plugin didn't work in IBM BC (#247280)
- Previous message: rpms/sendmail/devel sendmail-8.13.1-localdomain.patch, NONE, 1.1 sendmail.spec, 1.81, 1.82
- Next message: rpms/telepathy-salut/OLPC-2 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 telepathy-salut.spec, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list