From: Behdad Esfahbod Date: Tue, 4 Aug 2009 06:14:24 +0000 (-0400) Subject: [HB] Add comment X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf086adca1b7b5a361a248808f9a847e513d3630;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [HB] Add comment --- diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh index 596acd6..6cee085 100644 --- a/src/hb-ot-layout-common-private.hh +++ b/src/hb-ot-layout-common-private.hh @@ -47,8 +47,10 @@ template struct Record { inline bool sanitize (SANITIZE_ARG_DEF, const char *base) { - /* Note: Doesn't sanitize referenced object */ - /* Only accept ASCII-visible tags (mind DEL) */ + /* Note: Only accept ASCII-visible tags (mind DEL) + * This is one of the few times (only time?) we check + * for data integrity, as opposed o just boundary checks + */ return (tag & 0x80808080) == 0 && offset.sanitize (SANITIZE_ARG, base); }