[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - vcl/source

Michael Stahl mstahl at redhat.com
Thu Jan 26 14:32:13 UTC 2017


 vcl/source/gdi/svmconverter.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 7f5a10a3aaf8b48156aeab168afb7648dae1e020
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Jan 26 14:01:16 2017 +0100

    ofz#424 vcl: reset nLen too
    
    Change-Id: I8794bfebaf729345bfd1aa44dcd66099db7ca1cd
    Reviewed-on: https://gerrit.libreoffice.org/33583
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/gdi/svmconverter.cxx b/vcl/source/gdi/svmconverter.cxx
index 89e6c5b..633171c 100644
--- a/vcl/source/gdi/svmconverter.cxx
+++ b/vcl/source/gdi/svmconverter.cxx
@@ -929,6 +929,8 @@ void SVMConverter::ImplConvertFromSVM1( SvStream& rIStm, GDIMetaFile& rMtf )
                                 //be achieved, don't read it, it's utterly broken.
                                 SAL_WARN("vcl.gdi", "dxary too short, discarding completely");
                                 rIStm.SeekRel(sizeof(sal_Int32) * nDXAryLen);
+                                nLen = 0;
+                                nIndex = 0;
                             }
                             else
                             {


More information about the Libreoffice-commits mailing list