From: Behdad Esfahbod Date: Wed, 5 Aug 2009 02:43:47 +0000 (-0400) Subject: [HB] Add missing sanitize X-Git-Tag: 2.0_alpha~7^2~1065 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2870ac5e5d5d87646a4b273a9805fb3fcf280f97;p=apps%2Fcore%2Fpreloaded%2Fvideo-player.git [HB] Add missing sanitize --- diff --git a/src/hb-open-file-private.hh b/src/hb-open-file-private.hh index 4cbe935..03d9e14 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));