summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/opentype/hb-open-file-private.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/opentype/hb-open-file-private.hh b/pango/opentype/hb-open-file-private.hh
index 4cbe9355..03d9e141 100644
--- a/pango/opentype/hb-open-file-private.hh
+++ b/pango/opentype/hb-open-file-private.hh
@@ -176,6 +176,7 @@ struct OpenTypeFontFile
bool sanitize (SANITIZE_ARG_DEF) {
SANITIZE_DEBUG ();
+ if (!SANITIZE_SELF ()) return false;
switch (tag) {
default: return true;
case TrueTypeTag: case CFFTag: return SANITIZE_THIS (CAST (OffsetTable, *this, 0));