summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-14 09:54:44 +0200
committerJan Holesovsky <kendy@collabora.com>2018-05-22 12:17:04 +0200
commit171bb72400837574a3b5dd8c0391aa110160c524 (patch)
tree287418400f08ae40e78ebd1670feaff3163af910 /external
parentded8a55f6cf527b1388c52d924508577d97586e4 (diff)
UBSan misses typeinfo for CBmpContext
...after e3f3b3b75d7411827291e98c9c78c89cedc2836b "pdfium: update to 3151" Change-Id: Ie8646b4f1a132e8be6da10e9919e17865bc3e571 (cherry picked from commit e47fda7d4759f4ac911c882881dba1eee539726c)
Diffstat (limited to 'external')
-rw-r--r--external/pdfium/ubsan.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/external/pdfium/ubsan.patch b/external/pdfium/ubsan.patch
index 4349e860bd37..90ff0c851b97 100644
--- a/external/pdfium/ubsan.patch
+++ b/external/pdfium/ubsan.patch
@@ -1,3 +1,14 @@
+--- core/fxcodec/lbmp/fx_bmp.h
++++ core/fxcodec/lbmp/fx_bmp.h
+@@ -132,7 +132,7 @@
+ class CBmpContext : public CCodec_BmpModule::Context {
+ public:
+ CBmpContext(CCodec_BmpModule* pModule, CCodec_BmpModule::Delegate* pDelegate);
+- ~CBmpContext() override;
++ ~CBmpContext() override {}
+
+ BMPDecompressor m_Bmp;
+ CFX_UnownedPtr<CCodec_BmpModule> const m_pModule;
--- core/fxge/ge/cfx_facecache.cpp
+++ core/fxge/ge/cfx_facecache.cpp
@@ -206,7 +206,8 @@ CFX_GlyphBitmap* CFX_FaceCache::RenderGlyph(const CFX_Font* pFont,