- Add patch to fix double free bug in launcher library.
- Resolves: #248798.
This commit is contained in:
parent
491b3aaab2
commit
8d1008d15f
10
eclipse-launcher-double-free-bug.patch
Normal file
10
eclipse-launcher-double-free-bug.patch
Normal 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;
|
@ -19,7 +19,7 @@ Epoch: 1
|
|||||||
Summary: An open, extensible IDE
|
Summary: An open, extensible IDE
|
||||||
Name: eclipse
|
Name: eclipse
|
||||||
Version: %{eclipse_majmin}.%{eclipse_micro}
|
Version: %{eclipse_majmin}.%{eclipse_micro}
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: Eclipse Public License
|
License: Eclipse Public License
|
||||||
Group: Text Editors/Integrated Development Environments (IDE)
|
Group: Text Editors/Integrated Development Environments (IDE)
|
||||||
URL: http://www.eclipse.org/
|
URL: http://www.eclipse.org/
|
||||||
@ -65,6 +65,8 @@ Patch7: %{name}-tomcat55-build.patch
|
|||||||
# Use ecj for gcj
|
# Use ecj for gcj
|
||||||
Patch17: %{name}-ecj-gcj.patch
|
Patch17: %{name}-ecj-gcj.patch
|
||||||
Patch24: %{name}-add-ppc64-sparc64-s390-s390x.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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
@ -388,6 +390,7 @@ popd
|
|||||||
rm plugins/org.eclipse.platform/launchersrc.zip
|
rm plugins/org.eclipse.platform/launchersrc.zip
|
||||||
pushd features/org.eclipse.equinox.executable
|
pushd features/org.eclipse.equinox.executable
|
||||||
%patch12 -p0
|
%patch12 -p0
|
||||||
|
%patch25 -p0
|
||||||
# put the configuration directory in an arch-specific location
|
# put the configuration directory in an arch-specific location
|
||||||
sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
|
sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
|
||||||
# make the eclipse binary relocatable
|
# make the eclipse binary relocatable
|
||||||
@ -1626,6 +1629,10 @@ fi
|
|||||||
%{_libdir}/%{name}/plugins/org.eclipse.sdk_*
|
%{_libdir}/%{name}/plugins/org.eclipse.sdk_*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jul 31 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-4
|
||||||
- Link to commons-el.jar.
|
- Link to commons-el.jar.
|
||||||
- Remove ant 1.7 hacks.
|
- Remove ant 1.7 hacks.
|
||||||
|
Loading…
Reference in New Issue
Block a user