rpms/openoffice.org/F-13 openoffice.org-3.3.0.ooo112059.sw.avoid-null-ptr-deref.patch, NONE, 1.1 openoffice.org.spec, 1.2191, 1.2192

David Tardon dtardon at fedoraproject.org
Thu Jun 3 06:37:48 UTC 2010


Author: dtardon

Update of /cvs/pkgs/rpms/openoffice.org/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv16188

Modified Files:
	openoffice.org.spec 
Added Files:
	openoffice.org-3.3.0.ooo112059.sw.avoid-null-ptr-deref.patch 
Log Message:
Resolves: rhbz#599287 openoffice.org-3.3.0.ooo112059.sw.avoid-null-ptr-deref.patch

openoffice.org-3.3.0.ooo112059.sw.avoid-null-ptr-deref.patch:
 ww8graf.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE openoffice.org-3.3.0.ooo112059.sw.avoid-null-ptr-deref.patch ---
# HG changeset patch
# Parent 25cb853961c8c5bcbe8833e2cd2323707a3d204b
#i112059# avoid possible null pointer dereference

diff -r 25cb853961c8 sw/source/filter/ww8/ww8graf.cxx
--- a/sw/source/filter/ww8/ww8graf.cxx	Tue Jun 01 06:52:22 2010 +0200
+++ b/sw/source/filter/ww8/ww8graf.cxx	Thu Jun 03 08:30:49 2010 +0200
@@ -2833,7 +2833,7 @@
         MapWrapIntoFlyFmt(pRecord, pRetFrmFmt);
 
     // Set frame name with object name
-    if( aObjName.Len() )
+    if( pRetFrmFmt /*#i52825# */ && aObjName.Len() )
         pRetFrmFmt->SetName( aObjName );
     return AddAutoAnchor(pRetFrmFmt);
 }


Index: openoffice.org.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/F-13/openoffice.org.spec,v
retrieving revision 1.2191
retrieving revision 1.2192
diff -u -p -r1.2191 -r1.2192
--- openoffice.org.spec	2 Jun 2010 10:03:50 -0000	1.2191
+++ openoffice.org.spec	3 Jun 2010 06:37:46 -0000	1.2192
@@ -154,6 +154,7 @@ Patch83: workspace.cmcfixes64.patch
 Patch84: workspace.sw321bf01.patch
 Patch85: workspace.cmcfixes75.patch
 Patch86: openoffice.org-3.2.1.ooo112027.writerfilter.avoid.recursetodeath.patch
+Patch87: openoffice.org-3.3.0.ooo112059.sw.avoid-null-ptr-deref.patch
 
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %define instdir %{_libdir}
@@ -1738,6 +1739,7 @@ cp -p %{SOURCE5} external/unowinreg/unow
 %patch84 -p1 -b .workspace.sw321bf01.patch
 %patch85 -p1 -b .workspace.cmcfixes75.patch
 %patch86 -p0 -b .ooo112027.writerfilter.avoid.recursetodeath.patch
+%patch87 -p1 -b .ooo112059.sw.avoid-null-ptr-deref.patch
 
 %build
 echo build start time is `date`, diskspace: `df -h . | tail -n 1`
@@ -4223,12 +4225,13 @@ fi
 %endif
 
 %changelog
-* Wed Jun 02 2010 Caolán McNamara <caolanm at redhat.com> - 1:3.2.0-12.24.UNRELEASED
+* Thu Jun 03 2010 Caolán McNamara <caolanm at redhat.com> - 1:3.2.0-12.24.UNRELEASED
 - Resolves: rhbz#596807 openoffice.org-3.2.0.ooo111886.sw.layout.workaround.patch
 - Protect against broken samba servers (caolanm)
 - Resolves: rhbz#597820 workspace.sw321bf01.patch (dtardon)
 - Resolves: rhbz#598052 workspace.cmcfixes75.patch (caolanm)
 - Resolves: rhbz#598582 openoffice.org-3.2.1.ooo112027.writerfilter.avoid.recursetodeath.patch (caolanm)
+- Resolves: rhbz#599287 openoffice.org-3.3.0.ooo112059.sw.avoid-null-ptr-deref.patch (dtardon)
 
 * Fri May 21 2010 Caolán McNamara <caolanm at redhat.com> - 1:3.2.0-12.23
 - Resolves: rhbz#594035 openoffice.org-3.3.0.ooo111758.sd.xerror.patch



More information about the scm-commits mailing list