rpms/fcoe-utils/devel fcoe-utils-1.0.7-free.patch, NONE, 1.1 fcoe-utils.spec, 1.2, 1.3 fcoe-utils-1.0.7-make.patch, 1.1, NONE

Jan Zeleny jzeleny at fedoraproject.org
Mon May 4 11:53:24 UTC 2009


Author: jzeleny

Update of /cvs/extras/rpms/fcoe-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17615

Modified Files:
	fcoe-utils.spec 
Added Files:
	fcoe-utils-1.0.7-free.patch 
Removed Files:
	fcoe-utils-1.0.7-make.patch 
Log Message:
- fixed SIGSEGV when fcoe module isn't loaded (#498550)
- removed make patch, which was previously imported, but it's useless



fcoe-utils-1.0.7-free.patch:

--- NEW FILE fcoe-utils-1.0.7-free.patch ---
--- fcoe-utils-1.0.7/fcoeadm.c	2009-03-27 21:40:22.000000000 +0100
+++ fcoe-utils-1.0.7/fcoeadm.c.free	2009-05-04 11:29:00.000000000 +0200
@@ -250,8 +250,8 @@ fcoeadm_find_fchost(char *ifname, char *
 			}
 			free(namelist[n]);
 		}
+	  free(namelist);
 	}
-	free(namelist);
 
 	return found;
 }


Index: fcoe-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/fcoe-utils/devel/fcoe-utils.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- fcoe-utils.spec	27 Apr 2009 11:24:53 -0000	1.2
+++ fcoe-utils.spec	4 May 2009 11:52:53 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           fcoe-utils
 Version:        1.0.7
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Fibre Channel over Ethernet utilities
 
 Group:          Applications/System
@@ -8,6 +8,7 @@ License:        GPLv2
 URL:            http://www.open-fcoe.org
 Source0:        http://www.open-fcoe.org/openfc/downloads/%{name}-%{version}.tar.gz
 Patch0:         fcoe-utils-1.0.7-init.patch
+Patch1:         fcoe-utils-1.0.7-free.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:    libhbaapi-devel dcbd-devel
@@ -24,6 +25,7 @@ fcoemon - service to configure DCB Ether
 %prep
 %setup -q
 %patch0 -p1 -b .initPatch
+%patch1 -p1 -b .freePatch
 
 
 %build
@@ -72,6 +74,9 @@ fi
 
 
 %changelog
+* Wed May 4 2009 Jan Zeleny <jzeleny at redhat.com> - 1.0.7-5
+- fixed SIGSEGV when fcoe module isn't loaded (#498550)
+
 * Wed Apr 27 2009 Jan Zeleny <jzeleny at redhat.com> - 1.0.7-4
 - added libhbalinux to Requires (#497605)
 - correction of spec file (_initddir -> _initrddir)


--- fcoe-utils-1.0.7-make.patch DELETED ---




More information about the fedora-extras-commits mailing list