[ooo-build-commit] .: patches/dev300

Thorsten Behrens thorsten at kemper.freedesktop.org
Sun Feb 7 03:01:45 PST 2010


 patches/dev300/apply                             |    1 +
 patches/dev300/svx-textpropreader-limit-fix.diff |   13 +++++++++++++
 2 files changed, 14 insertions(+)

New commits:
commit a8bfdfcefa244b73a435abcf5c359a55c7f5689f
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Sun Feb 7 00:52:10 2010 +0100

    Corrected textpropreader limit in svdfppt.cxx
    
    * patches/dev300/apply: added the patch
    * patches/dev300/svx-textpropreader-limit-fix.diff: avoid magic
      max value as the upper limit, that's used inside the String

diff --git a/patches/dev300/apply b/patches/dev300/apply
index 0e118a8..4aac04c 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -3565,3 +3565,4 @@ slideshow-sound.diff, n#515553, rodo
 sd-avoid-looping-fix.diff, thorsten
 svx-validate-paradepth.diff, thorsten
 vcl-pngread-greypalette-fix.diff, thorsten
+svx-textpropreader-limit-fix.diff, thorsten
diff --git a/patches/dev300/svx-textpropreader-limit-fix.diff b/patches/dev300/svx-textpropreader-limit-fix.diff
new file mode 100644
index 0000000..688b32d
--- /dev/null
+++ b/patches/dev300/svx-textpropreader-limit-fix.diff
@@ -0,0 +1,13 @@
+diff --git a/svx/source/svdraw/svdfppt.cxx b/svx/source/svdraw/svdfppt.cxx
+index c452472..c25164a 100644
+--- svx/source/svdraw/svdfppt.cxx
++++ svx/source/svdraw/svdfppt.cxx
+@@ -5337,7 +5337,7 @@ void PPTStyleTextPropReader::Init( SvStream& rIn, SdrPowerPointImport& rMan, con
+     rIn >> aTextHd;
+     sal_uInt32 nMaxLen = aTextHd.nRecLen;
+     if ( nMaxLen > 0xFFFF )
+-        nMaxLen = 0xFFFF;
++        nMaxLen = 0xFFFE;
+ 
+     if( aTextHd.nRecType == PPT_PST_TextCharsAtom )
+     {


More information about the ooo-build-commit mailing list