diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-08-04 02:14:24 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-08-04 02:14:24 -0400 |
commit | 8c48985195d3b1cafb7852f2d70b9d82a01d1d78 (patch) | |
tree | aeb45cae12cf67ac59f697236505f4364e6d83e5 | |
parent | 15e1f268f52a61ebdcdcf0d3c7cd643f897cdcde (diff) | |
download | pango-8c48985195d3b1cafb7852f2d70b9d82a01d1d78.tar.gz |
[HB] Add comment
-rw-r--r-- | pango/opentype/hb-ot-layout-common-private.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pango/opentype/hb-ot-layout-common-private.hh b/pango/opentype/hb-ot-layout-common-private.hh index 439d7e87..a6fa2b45 100644 --- a/pango/opentype/hb-ot-layout-common-private.hh +++ b/pango/opentype/hb-ot-layout-common-private.hh @@ -47,8 +47,10 @@ template <typename Type> 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); } |