Dash:
[t2.git] / package / office / openoffice / openoffice.org-3.1.1.ooo104157.svx.crashonencryptparse.patch
blob2c661cd4c7cd757a576df43e32526ce29a37b6ac
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../openoffice-org/openoffice.org-3.1.1.ooo104157.svx.crashonencryptparse.patch
5 # Copyright (C) 2009 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- ./svx.orig/source/svdraw/svdfppt.cxx 2009-08-27 17:13:39.000000000 +0100
18 +++ ./svx/source/svdraw/svdfppt.cxx 2009-08-27 17:13:43.000000000 +0100
19 @@ -1429,9 +1429,11 @@
20 ePageColorsKind ( PPT_MASTERPAGE ),
21 eAktPageKind ( PPT_MASTERPAGE )
23 - DffRecordHeader* pHd;
24 + if (rParam.aCurrentUserAtom.nMagic == 0xF3D1C4Df) //encrypted │
25 + bOk = false;
26 if ( bOk )
28 + DffRecordHeader* pHd;
29 rStCtrl.Seek( STREAM_SEEK_TO_END );
30 nStreamLen = rStCtrl.Tell();