diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-08 14:45:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-08 17:50:17 +0200 |
commit | 4907cf58bae433b833aa7fedc6a8aafd45e75a75 (patch) | |
tree | 3a9a2ddad193f7d7517ec0a86544d3e9a32559ca /hwpfilter/source/hwpread.cxx | |
parent | loplugin:useuniqueptr in xmlhelp (diff) | |
download | core-4907cf58bae433b833aa7fedc6a8aafd45e75a75.tar.gz core-4907cf58bae433b833aa7fedc6a8aafd45e75a75.zip |
ofz#10259 ofz#10263 ofz#10264 ofz#10265 use-after-free
Change-Id: I3e845c21f7a4e853ce9548f2992cab324dec05a8
Reviewed-on: https://gerrit.libreoffice.org/60200
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'hwpfilter/source/hwpread.cxx')
-rw-r--r-- | hwpfilter/source/hwpread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index 1ed8001513af..9d44a00bc87b 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -460,7 +460,7 @@ bool Picture::Read(HWPFile & hwpf) if (pictype == PICTYPE_DRAW) { - HMemIODev* pOldMem = hmem; + HIODev* pOldMem = hmem; HMemIODev* pNewMem = new HMemIODev(reinterpret_cast<char *>(follow.data()), follow_block_size); hmem = pNewMem; LoadDrawingObjectBlock(this); |