summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-21 21:35:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-21 21:36:49 +0100
commitbbe1636291cbfe3a8c2690b692740e1c823403be (patch)
treeb496de4fc4d382373fa6a7a613c6faab0814d0d7 /hwpfilter
parentc23cc5d7551a0ed0e3dad2d33dd00b38643456a1 (diff)
ofz#2704 null-dereference read
Change-Id: Iaadec2dfdebd2b2e273d369cc22f48153cd6d213
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hbox.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index 7520c68c934a..491353f92e61 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -379,6 +379,7 @@ Picture::Picture()
, pictype(0)
, ishyper(false)
{
+ memset(&picinfo, 0, sizeof(picinfo));
}
Picture::~Picture()