rpms/openoffice.org/devel openoffice.org-3.1.0.ooo100942.svtools.oversafeemf.patch, 1.1, 1.2
Caolan McNamara
caolanm at fedoraproject.org
Thu Apr 9 19:45:48 UTC 2009
- Previous message (by thread): rpms/coccinella/F-9 Coccinella-0.96.8-system-treectrl.patch, NONE, 1.1 coccinella.desktop, NONE, 1.1 coccinella.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): comps/po sv.po,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: caolanm
Update of /cvs/pkgs/rpms/openoffice.org/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30841
Modified Files:
openoffice.org-3.1.0.ooo100942.svtools.oversafeemf.patch
Log Message:
correct patch
openoffice.org-3.1.0.ooo100942.svtools.oversafeemf.patch:
Index: openoffice.org-3.1.0.ooo100942.svtools.oversafeemf.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/devel/openoffice.org-3.1.0.ooo100942.svtools.oversafeemf.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- openoffice.org-3.1.0.ooo100942.svtools.oversafeemf.patch 8 Apr 2009 11:39:06 -0000 1.1
+++ openoffice.org-3.1.0.ooo100942.svtools.oversafeemf.patch 9 Apr 2009 19:45:48 -0000 1.2
@@ -10,7 +10,7 @@
*pWMF >> nPoly >> nGesPoints;
- if ( ( nGesPoints < SAL_MAX_UINT32 / sizeof(Point) ) && ( nPoly < SAL_MAX_UINT32 / sizeof(UINT16) ) )
-+ if ( ( nGesPoints < SAL_MAX_UINT32 / (sizeof(sal_uInt16) + sizeof(sal_uInt16)) ) && ( nPoly < SAL_MAX_UINT32 / sizeof(UINT16) ) )
++ if ( ( nGesPoints < SAL_MAX_UINT32 / (sizeof(sal_uInt32)+sizeof(sal_uInt32)) ) && ( nPoly < SAL_MAX_UINT32 / sizeof(UINT16) ) )
{
if ( ( nPoly * sizeof(UINT16) ) <= ( nEndPos - pWMF->Tell() ) )
{
@@ -19,7 +19,7 @@
}
- if ( ( nGesPoints * sizeof(Point) ) <= ( nEndPos - pWMF->Tell() ) )
-+ if ( ( nGesPoints * (sizeof(sal_uInt16) + sizeof(sal_uInt16)) ) <= ( nEndPos - pWMF->Tell() ) )
++ if ( ( nGesPoints * (sizeof(sal_uInt32)+sizeof(sal_uInt32)) ) <= ( nEndPos - pWMF->Tell() ) )
{
// Polygonpunkte holen:
- pPtAry = (Point*) new char[ nGesPoints * sizeof(Point) ];
@@ -41,7 +41,7 @@
// Anzahl der Polygone:
*pWMF >> nPoly >> nGesPoints;
- if ( ( nGesPoints < SAL_MAX_UINT32 / sizeof(Point) ) && ( nPoly < SAL_MAX_UINT32 / sizeof(UINT16) ) )
-+ if ( ( nGesPoints < SAL_MAX_UINT32 / (sizeof(sal_uInt16) + sizeof(sal_uInt16)) ) && ( nPoly < SAL_MAX_UINT32 / sizeof(UINT16) ) )
++ if ( ( nGesPoints < SAL_MAX_UINT32 / (sizeof(sal_uInt32)+sizeof(sal_uInt32)) ) && ( nPoly < SAL_MAX_UINT32 / sizeof(UINT16) ) )
{
if ( ( static_cast< sal_uInt32 >( nPoly ) * sizeof( UINT16 ) ) <= ( nEndPos - pWMF->Tell() ) )
{
- Previous message (by thread): rpms/coccinella/F-9 Coccinella-0.96.8-system-treectrl.patch, NONE, 1.1 coccinella.desktop, NONE, 1.1 coccinella.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): comps/po sv.po,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list