[pango/harfbuzz-ng] [HB] Add missing sanitize



commit 7762880223a110e41cb1f1c256564f6809747fb8
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Aug 4 22:43:47 2009 -0400

    [HB] Add missing sanitize

 pango/opentype/hb-open-file-private.hh |    1 +
 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 4cbe935..03d9e14 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));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]