rpms/openoffice.org/F-11 openoffice.org-3.3.0.ooo108047.writerfilter.safer-field-context-handling.patch, NONE, 1.1 openoffice.org.spec, 1.1949, 1.1950
David Tardon
dtardon at fedoraproject.org
Mon Jan 4 07:03:12 UTC 2010
- Previous message (by thread): rpms/zhcon/devel .cvsignore, 1.5, 1.6 import.log, 1.4, 1.5 sources, 1.5, 1.6 zhcon-0.2.6-gcc43.patch, 1.2, 1.3 zhcon.spec, 1.14, 1.15
- Next message (by thread): rpms/openoffice.org/F-12 openoffice.org-3.3.0.ooo108047.writerfilter.safer-field-context-handling.patch, NONE, 1.1 openoffice.org.spec, 1.2048, 1.2049
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dtardon
Update of /cvs/pkgs/rpms/openoffice.org/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23442
Modified Files:
openoffice.org.spec
Added Files:
openoffice.org-3.3.0.ooo108047.writerfilter.safer-field-context-handling.patch
Log Message:
Resolves: rhbz#551983 OpenOffice writer crashes when opening document with link in footnote
openoffice.org-3.3.0.ooo108047.writerfilter.safer-field-context-handling.patch:
DomainMapper_Impl.cxx | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- NEW FILE openoffice.org-3.3.0.ooo108047.writerfilter.safer-field-context-handling.patch ---
diff -r aaadcca77f1f writerfilter/source/dmapper/DomainMapper_Impl.cxx
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx Sun Dec 20 20:17:35 2009 +0100
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx Mon Jan 04 07:43:33 2010 +0100
@@ -2578,6 +2578,12 @@
-----------------------------------------------------------------------*/
void DomainMapper_Impl::CloseFieldCommand()
{
+ OSL_ENSURE(!m_aFieldStack.empty(), "no field to close");
+ if (m_aFieldStack.empty())
+ {
+ return;
+ }
+
FieldContextPtr pContext = m_aFieldStack.top();
OSL_ENSURE( pContext.get(), "no field context available");
if( pContext.get() )
@@ -3365,6 +3371,12 @@
-----------------------------------------------------------------------*/
void DomainMapper_Impl::PopFieldContext()
{
+ OSL_ENSURE(!m_aFieldStack.empty(), "no field to pop");
+ if (m_aFieldStack.empty())
+ {
+ return;
+ }
+
FieldContextPtr pContext = m_aFieldStack.top();
OSL_ENSURE( pContext.get(), "no field context available");
if( pContext.get() )
Index: openoffice.org.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/F-11/openoffice.org.spec,v
retrieving revision 1.1949
retrieving revision 1.1950
diff -u -p -r1.1949 -r1.1950
--- openoffice.org.spec 1 Jan 2010 07:16:38 -0000 1.1949
+++ openoffice.org.spec 4 Jan 2010 07:03:10 -0000 1.1950
@@ -166,6 +166,7 @@ Patch90: openoffice.org-3.3.0.ooo102645.
Patch91: workspace.vcl105.patch
Patch92: workspace.fwk132.patch
Patch93: workspace.extmgr01.patch
+Patch94: openoffice.org-3.3.0.ooo108047.writerfilter.safer-field-context-handling.patch
%define python_py_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")
%define instdir %{_libdir}
@@ -1690,6 +1691,7 @@ cat %{PATCH11} >> svtools/source/dialogs
%patch91 -p0 -b .workspace.vcl105.patch
%patch92 -p1 -b .workspace.fwk132.patch
%patch93 -p1 -b .workspace.extmgr01.patch
+%patch94 -p1 -b .ooo108047.writerfilter.safer-field-context-handling.patch
%build
echo build start time is `date`, diskspace: `df -h . | tail -n 1`
@@ -4195,6 +4197,8 @@ fi
%changelog
* Fri Jan 01 2010 Caolán McNamara <caolanm at redhat.com> - 1:3.1.1-19.12-UNBUILT
- Resolves: rhbz#549890 add workspace.extmgr01.patch (dtardon)
+- Resolves: rhbz#551983 OpenOffice writer crashes when opening document
+ with link in footnote (dtardon)
* Tue Dec 15 2009 Caolán McNamara <caolanm at redhat.com> - 1:3.1.1-19.11
- Resolves: rhbz#529648 add workspace.fwk132.patch
- Previous message (by thread): rpms/zhcon/devel .cvsignore, 1.5, 1.6 import.log, 1.4, 1.5 sources, 1.5, 1.6 zhcon-0.2.6-gcc43.patch, 1.2, 1.3 zhcon.spec, 1.14, 1.15
- Next message (by thread): rpms/openoffice.org/F-12 openoffice.org-3.3.0.ooo108047.writerfilter.safer-field-context-handling.patch, NONE, 1.1 openoffice.org.spec, 1.2048, 1.2049
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list