[Libreoffice-commits] core.git: hwpfilter/source

Caolán McNamara caolanm at redhat.com
Sun Apr 16 13:26:16 UTC 2017


 hwpfilter/source/hpara.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b17177c63a4eac55dcdaa3006abec05ab71ca1b4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Apr 16 14:25:25 2017 +0100

    coverity#1405158 Wrong sizeof argument
    
    Change-Id: Ie6b7fc3d2b7d1ac709501698e55aabc72215b187

diff --git a/hwpfilter/source/hpara.cxx b/hwpfilter/source/hpara.cxx
index 0273bcca29c3..6f5c4e57aace 100644
--- a/hwpfilter/source/hpara.cxx
+++ b/hwpfilter/source/hpara.cxx
@@ -77,7 +77,7 @@ HWPPara::HWPPara()
     , pstyno(0)
     , cshape(new CharShape)
 {
-    memset(cshape.get(), 0, sizeof(cshape));
+    memset(cshape.get(), 0, sizeof(CharShape));
     memset(&pshape, 0, sizeof(pshape));
 }
 


More information about the Libreoffice-commits mailing list