filter/source/msfilter/escherex.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bcd42eb4039ce1bc1f5d9fa005036fd4fe59e2c6 Author: Steve Yin <stev...@apache.org> Date: Wed Apr 16 07:48:58 2014 +0000 Issue 124661 - crash when loading and re-saving attached ppt file with a single customshape diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 3df2193..328bbfd 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -2558,7 +2558,7 @@ void ConvertEnhancedCustomShapeEquation( SdrObjCustomShape* pCustoShape, if ( pAny ) *pAny >>= sEquationSource; sal_Int32 nEquationSourceCount = sEquationSource.getLength(); - if ( nEquationSourceCount ) + if ( nEquationSourceCount && (nEquationSourceCount <= 128) ) { sal_Int32 i; for ( i = 0; i < nEquationSourceCount; i++ ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits