diff options
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-ot-var-mvar-table.hh')
-rw-r--r-- | thirdparty/harfbuzz/src/hb-ot-var-mvar-table.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/harfbuzz/src/hb-ot-var-mvar-table.hh b/thirdparty/harfbuzz/src/hb-ot-var-mvar-table.hh index ceabc9a3e2..6d69777618 100644 --- a/thirdparty/harfbuzz/src/hb-ot-var-mvar-table.hh +++ b/thirdparty/harfbuzz/src/hb-ot-var-mvar-table.hh @@ -77,8 +77,10 @@ struct MVAR { TRACE_SANITIZE (this); return_trace (version.sanitize (c) && + hb_barrier () && likely (version.major == 1) && c->check_struct (this) && + hb_barrier () && valueRecordSize >= VariationValueRecord::static_size && varStore.sanitize (c, this) && c->check_range (valuesZ.arrayZ, |