diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2005-04-12 18:07:43 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2005-04-12 18:07:43 +0000 |
commit | 35709a1e576bc0c319b29bba5289d5e318cf30ec (patch) | |
tree | 137f319321de7b7d409b8311b46db73e3749e368 /app-office/openoffice-ximian | |
parent | Revision bump for security fix, see bug #88863 (diff) | |
download | gentoo-2-35709a1e576bc0c319b29bba5289d5e318cf30ec.tar.gz gentoo-2-35709a1e576bc0c319b29bba5289d5e318cf30ec.tar.bz2 gentoo-2-35709a1e576bc0c319b29bba5289d5e318cf30ec.zip |
oops, forgot to commit the patch
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-office/openoffice-ximian')
-rw-r--r-- | app-office/openoffice-ximian/files/1.1.3/crash-objstream.diff | 16 | ||||
-rw-r--r-- | app-office/openoffice-ximian/files/1.1.4/crash-objstream.diff | 16 |
2 files changed, 32 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 diff --git a/app-office/openoffice-ximian/files/1.1.4/crash-objstream.diff b/app-office/openoffice-ximian/files/1.1.4/crash-objstream.diff new file mode 100644 index 000000000000..b23bb413eb4c --- /dev/null +++ b/app-office/openoffice-ximian/files/1.1.4/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 |