projects
/
framework
/
uifw
/
harfbuzz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b28815c
)
[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>
Mon, 2 Nov 2009 19:40:30 +0000
(14:40 -0500)
src/hb-open-file-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-open-file-private.hh
b/src/hb-open-file-private.hh
index
4cbe935
..
03d9e14
100644
(file)
--- a/
src/hb-open-file-private.hh
+++ b/
src/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));