diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-16 14:25:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-16 14:25:25 +0100 |
commit | b17177c63a4eac55dcdaa3006abec05ab71ca1b4 (patch) | |
tree | 5bc79d31b8c89a0ed7c7551fd7cc08cc702a9066 /hwpfilter/source/hpara.cxx | |
parent | 715df6e9f8926e511dbdee52367ec08676f71952 (diff) |
coverity#1405158 Wrong sizeof argument
Change-Id: Ie6b7fc3d2b7d1ac709501698e55aabc72215b187
Diffstat (limited to 'hwpfilter/source/hpara.cxx')
-rw-r--r-- | hwpfilter/source/hpara.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |