fix uninitialized memory bug

This commit is contained in:
Michiharu Ariza 2019-03-22 10:26:48 -07:00
parent d2a0149c29
commit 3c4f041e9e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}