hwpfilter/source/hpara.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ee85316249902aa19f4426acae546ee79a083b07 Author: Caolán McNamara <[email protected]> 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/36578 Tested-by: Jenkins <[email protected]> Reviewed-by: Markus Mohrhard <[email protected]> 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)); }
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
