summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@fb.com>2019-03-26 16:17:45 -0700
committerBehdad Esfahbod <behdad@fb.com>2019-03-26 16:17:45 -0700
commit96f12377942dbe1c6b1d0ffa7d626d99cb265443 (patch)
tree97c03d9553a803e1172d7b5862449a74aac4a92f
parente5dfffb1ef610a982ed9878fbf3f9ee49cbc3a97 (diff)
[aat] Add missing check to ankr table
Isn't absolutely needed. But helps.
-rw-r--r--src/hb-aat-layout-ankr-table.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hb-aat-layout-ankr-table.hh b/src/hb-aat-layout-ankr-table.hh
index 236e4aaf..4087b8c1 100644
--- a/src/hb-aat-layout-ankr-table.hh
+++ b/src/hb-aat-layout-ankr-table.hh
@@ -76,6 +76,7 @@ struct ankr
TRACE_SANITIZE (this);
return_trace (likely (c->check_struct (this) &&
version == 0 &&
+ c->check_range (this, anchorData) &&
lookupTable.sanitize (c, this, &(this+anchorData))));
}