From ed8a9067ca0fe51ac4b80dab55db596763df72bb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 2 Mar 2016 12:54:35 -0800 Subject: [PATCH] [GX] Minor --- src/hb-ot-layout-common-private.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh index b1dcb01ce..52d213cd4 100644 --- a/src/hb-ot-layout-common-private.hh +++ b/src/hb-ot-layout-common-private.hh @@ -1336,7 +1336,8 @@ struct VariationDevice inline bool sanitize (hb_sanitize_context_t *c) const { TRACE_SANITIZE (this); - return_trace (c->check_struct (this) && c->check_range (&deltaValue, deltaCount * SHORT::static_size)); + return_trace (c->check_struct (this) && + c->check_array (&deltaValue, SHORT::static_size, deltaCount)); } private: