hwpfilter/source/hpara.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 21c870e0e54a11936334e36a14b8e1e5a1c1ee92 Author: Caolán McNamara <caol...@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/36580 Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Reviewed-by: Michael Stahl <mst...@redhat.com> Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Eike Rathke <er...@redhat.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)); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits