From 2870ac5e5d5d87646a4b273a9805fb3fcf280f97 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 4 Aug 2009 22:43:47 -0400 Subject: [PATCH] [HB] Add missing sanitize --- src/hb-open-file-private.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-open-file-private.hh b/src/hb-open-file-private.hh index 4cbe93552..03d9e141c 100644 --- a/src/hb-open-file-private.hh +++ b/src/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));