diff options
Diffstat (limited to 'app-office/openoffice-ximian/files/1.1.3/crash-objstream.diff')
-rw-r--r-- | app-office/openoffice-ximian/files/1.1.3/crash-objstream.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-office/openoffice-ximian/files/1.1.3/crash-objstream.diff b/app-office/openoffice-ximian/files/1.1.3/crash-objstream.diff new file mode 100644 index 000000000000..b23bb413eb4c --- /dev/null +++ b/app-office/openoffice-ximian/files/1.1.3/crash-objstream.diff @@ -0,0 +1,16 @@ +Index: sot/source/sdstor/stgole.cxx +=================================================================== +RCS file: /cvs/util/sot/source/sdstor/stgole.cxx,v +retrieving revision 1.4 +diff -u -p -u -r1.4 stgole.cxx +--- sot/source/sdstor/stgole.cxx 22 Jul 2002 12:28:43 -0000 1.4 ++++ sot/source/sdstor/stgole.cxx 12 Apr 2005 10:14:48 -0000 +@@ -157,7 +157,7 @@ BOOL StgCompObjStream::Load() + INT32 nLen1 = 0; + *this >> nLen1; + sal_Char* p = new sal_Char[ (USHORT) nLen1 ]; +- if( Read( p, nLen1 ) == (ULONG) nLen1 ) ++ if( Read( p, (USHORT) nLen1 ) == (ULONG) nLen1 ) + { + aUserName = String( p, gsl_getSystemTextEncoding() ); + /* // Now we can read the CB format |