- Add patch to fix double free bug in launcher library.

- Resolves: #248798.
This commit is contained in:
Ben Konrath 2007-08-03 19:37:44 +00:00
parent 491b3aaab2
commit 8d1008d15f
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- 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;

View File

@ -19,7 +19,7 @@ Epoch: 1
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 @@ Patch7: %{name}-tomcat55-build.patch
# 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 @@ popd
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 @@ fi
%{_libdir}/%{name}/plugins/org.eclipse.sdk_*
%changelog
* Fri Aug 03 2007 Ben Konrath <bkonrath@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@redhat.com> 3.3.0-4
- Link to commons-el.jar.
- Remove ant 1.7 hacks.