projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4c1057
)
[HB] Add missing sanitize
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 5 Aug 2009 02:43:47 +0000
(22:43 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 5 Aug 2009 02:43:47 +0000
(22:43 -0400)
pango/opentype/hb-open-file-private.hh
patch
|
blob
|
history
diff --git
a/pango/opentype/hb-open-file-private.hh
b/pango/opentype/hb-open-file-private.hh
index
4cbe935
..
03d9e14
100644
(file)
--- 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));