[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - hwpfilter/source
Caolán McNamara
caolanm at redhat.com
Sun Apr 16 23:20:36 UTC 2017
hwpfilter/source/hpara.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e66fbb58daa94fe1d2aa83f0be5fcdac3e21b259
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
(cherry picked from commit b17177c63a4eac55dcdaa3006abec05ab71ca1b4)
Reviewed-on: https://gerrit.libreoffice.org/36579
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/hwpfilter/source/hpara.cxx b/hwpfilter/source/hpara.cxx
index 3149d65acf0a..cce909ead16e 100644
--- a/hwpfilter/source/hpara.cxx
+++ b/hwpfilter/source/hpara.cxx
@@ -78,7 +78,7 @@ HWPPara::HWPPara()
, cshape(new CharShape)
, linfo(nullptr)
{
- 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