[HB] Add missing sanitize

This commit is contained in:
Behdad Esfahbod 2009-08-04 22:43:47 -04:00
parent b28815c1f6
commit 2870ac5e5d
1 changed files with 1 additions and 0 deletions

View 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));