[HB] Add missing sanitize
This commit is contained in:
parent
b28815c1f6
commit
2870ac5e5d
@ -176,6 +176,7 @@ struct OpenTypeFontFile
|
|||||||
|
|
||||||
bool sanitize (SANITIZE_ARG_DEF) {
|
bool sanitize (SANITIZE_ARG_DEF) {
|
||||||
SANITIZE_DEBUG ();
|
SANITIZE_DEBUG ();
|
||||||
|
if (!SANITIZE_SELF ()) return false;
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
default: return true;
|
default: return true;
|
||||||
case TrueTypeTag: case CFFTag: return SANITIZE_THIS (CAST (OffsetTable, *this, 0));
|
case TrueTypeTag: case CFFTag: return SANITIZE_THIS (CAST (OffsetTable, *this, 0));
|
||||||
|
Loading…
Reference in New Issue
Block a user