diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-03 18:42:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-03 18:45:09 +0100 |
commit | a5c4b406a8ff80aaa2df96ce455d3b080b77a9a4 (patch) | |
tree | a2a0da24ae6a25d98d114891d7d2ef4bfed4fe28 /writerfilter/util | |
parent | 45780815b2ae9d07a249a7d84d332c8b402317a5 (diff) |
Only downcast to OOXMLFastContextHandlerShape when actually necessary
After bd3c5c4c234e3dc6b89cd235321945a41a08d562 "[API CHANGE] tdf#65393 Import
signature line images from ooxml", UBSan CppunitTest_chart2_export had started
to fail with
> writerfilter/source/ooxml/OOXMLFastContextHandler.cxx:1898:25: runtime error: downcast of address 0x61200070a440 which does not point to an object of type 'writerfilter::ooxml::OOXMLFastContextHandlerShape'
> 0x61200070a440: note: object is of type 'writerfilter::ooxml::OOXMLFastContextHandlerWrapper'
> 0e 10 00 20 50 86 4a 00 a2 7f 00 00 01 00 00 00 be be be be 00 00 00 00 00 00 00 00 00 00 00 00
> ^~~~~~~~~~~~~~~~~~~~~~~
> vptr for 'writerfilter::ooxml::OOXMLFastContextHandlerWrapper'
Change-Id: I028ef619766466e8cd9bb0ca09174b926fc6d23c
Diffstat (limited to 'writerfilter/util')
0 files changed, 0 insertions, 0 deletions