Apache OpenOffice (AOO) Bugzilla – Issue 6442
Printing crash on Linux
Last modified: 2002-11-04 12:53:03 UTC
Prining some Writer files on Linux will crash due to int overflow in vcl/source/gdi/outdev3.cxx result in infinite recursion. The following patch disable such spot and solve the problem for us. diff -urdP -X srcdiff.txt ../oo_1.0_src.orig/./vcl/source/gdi/outdev3.cxx ./vcl/source/gdi/outdev3.cxx --- ../oo_1.0_src.orig/./vcl/source/gdi/outdev3.cxx Fri Feb 15 18:44:52 2002 +++ ./vcl/source/gdi/outdev3.cxx Thu Jun 27 16:57:43 2002 @@ -3963,7 +4156,7 @@ if ( pOldEntry ) mpFontCache->Release( pOldEntry ); - +#if 0 //!! this crash on Linux, due to int overflow (too large number wrap to negative) // #95414# fix for OLE objects which use scale factors very creatively if( mbMap && !aSize.Width() ) { @@ -3979,7 +4172,7 @@ ImplNewFont(); // recurse once using stretched width } } - +#endif return TRUE; }
This stack overflow is already fixed on OOo 1.0.1 by http://www.openoffice.org/unbranded-source/browse/gsl/vcl/source/gdi/outdev3.cxx.diff?r1=1.75&r2=1.75.4.1
closed