rpms/eclipse/devel eclipse-launcher-double-free-bug.patch, NONE, 1.1 eclipse.spec, 1.458, 1.459

Ben Konrath (bkonrath) fedora-extras-commits at redhat.com
Fri Aug 3 19:38:17 UTC 2007


Author: bkonrath

Update of /cvs/pkgs/rpms/eclipse/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10338

Modified Files:
	eclipse.spec 
Added Files:
	eclipse-launcher-double-free-bug.patch 
Log Message:
* Fri Aug 03 2007 Ben Konrath <bkonrath at redhat.com> 3.3.0-5
- Add patch to fix double free bug in launcher library.
- Resolves: #248798.


eclipse-launcher-double-free-bug.patch:

--- NEW FILE eclipse-launcher-double-free-bug.patch ---
--- library/eclipse.c.orig	2007-06-25 15:57:02.000000000 -0400
+++ library/eclipse.c	2007-08-03 15:23:02.000000000 -0400
@@ -529,6 +530,7 @@
 		            }
 		            displayMessage( title, errorMsg );
 		            free( errorMsg );
+ 		            errorMsg = NULL;
 	            }
 	            free( title );
 	            break;


Index: eclipse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse.spec,v
retrieving revision 1.458
retrieving revision 1.459
diff -u -r1.458 -r1.459
--- eclipse.spec	31 Jul 2007 23:02:58 -0000	1.458
+++ eclipse.spec	3 Aug 2007 19:37:44 -0000	1.459
@@ -19,7 +19,7 @@
 Summary:        An open, extensible IDE
 Name:           eclipse
 Version:        %{eclipse_majmin}.%{eclipse_micro}
-Release:        4%{?dist} 
+Release:        5%{?dist} 
 License:        Eclipse Public License
 Group:          Text Editors/Integrated Development Environments (IDE)
 URL:            http://www.eclipse.org/
@@ -65,6 +65,8 @@
 # Use ecj for gcj
 Patch17:        %{name}-ecj-gcj.patch
 Patch24:        %{name}-add-ppc64-sparc64-s390-s390x.patch
+#https://bugs.eclipse.org/bugs/show_bug.cgi?id=198840
+Patch25: 	%{name}-launcher-double-free-bug.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  ant
@@ -388,6 +390,7 @@
 rm plugins/org.eclipse.platform/launchersrc.zip
 pushd features/org.eclipse.equinox.executable
 %patch12 -p0
+%patch25 -p0
 # put the configuration directory in an arch-specific location
 sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
 # make the eclipse binary relocatable 
@@ -1626,6 +1629,10 @@
 %{_libdir}/%{name}/plugins/org.eclipse.sdk_*
 
 %changelog
+* Fri Aug 03 2007 Ben Konrath <bkonrath at redhat.com> 3.3.0-5
+- Add patch to fix double free bug in launcher library.
+- Resolves: #248798.
+
 * Tue Jul 31 2007 Ben Konrath <bkonrath at redhat.com> 3.3.0-4
 - Link to commons-el.jar.
 - Remove ant 1.7 hacks.




More information about the fedora-extras-commits mailing list