projects
/
apps
/
home
/
video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a97ce57
)
[HB] Add comment
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 4 Aug 2009 06:14:24 +0000
(
02:14
-0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 2 Nov 2009 19:40:28 +0000
(14:40 -0500)
src/hb-ot-layout-common-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-common-private.hh
b/src/hb-ot-layout-common-private.hh
index
596acd6
..
6cee085
100644
(file)
--- a/
src/hb-ot-layout-common-private.hh
+++ b/
src/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);
}