[HB] Add missing sanitize
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 5 Aug 2009 02:43:47 +0000 (22:43 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 5 Aug 2009 02:43:47 +0000 (22:43 -0400)
pango/opentype/hb-open-file-private.hh

index 4cbe935..03d9e14 100644 (file)
@@ -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));