[kerx] Better sanitize tupleKerning
This commit is contained in:
parent
14772da06f
commit
39b4ef6f18
|
@ -53,7 +53,7 @@ kerxTupleKern (int value,
|
|||
|
||||
unsigned int offset = value;
|
||||
const FWORD *pv = &StructAtOffset<FWORD> (base, offset);
|
||||
if (unlikely (!pv->sanitize (&c->sanitizer))) return 0;
|
||||
if (unlikely (!c->sanitizer.check_array (pv, tupleCount))) return 0;
|
||||
return *pv;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue