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

New commits:
commit 7f5a10a3aaf8b48156aeab168afb7648dae1e020
Author: Michael Stahl <mst...@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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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
                             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to