fix uninitialized memory bug
This commit is contained in:
parent
d2a0149c29
commit
3c4f041e9e
|
@ -1762,7 +1762,7 @@ struct VarData
|
||||||
{
|
{
|
||||||
unsigned int old = remap.to_old (i);
|
unsigned int old = remap.to_old (i);
|
||||||
if (unlikely (old >= src->itemCount)) return_trace (false);
|
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;
|
if (delta < -128 || 127 < delta) goto found_short;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue