From 3c4f041e9e8adc5d906a7bd37dc86345c2bf91e8 Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Fri, 22 Mar 2019 10:26:48 -0700 Subject: [PATCH] fix uninitialized memory bug --- src/hb-ot-layout-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 23d5279a3..3c621d715 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -1762,7 +1762,7 @@ struct VarData { unsigned int old = remap.to_old (i); if (unlikely (old >= src->itemCount)) return_trace (false); - int16_t delta = get_item_delta (old, short_count - 1); + int16_t delta = src->get_item_delta (old, short_count - 1); if (delta < -128 || 127 < delta) goto found_short; }