[ENOMEM] check vector status in cmap subsetting.
This commit is contained in:
parent
06dbb6acbb
commit
18ab8029d5
|
@ -1108,6 +1108,9 @@ struct CmapSubtableFormat14
|
|||
return;
|
||||
}
|
||||
|
||||
if (unlikely (!c->check_success (!obj_indices.in_error ())))
|
||||
return;
|
||||
|
||||
int tail_len = init_tail - c->tail;
|
||||
c->check_assign (this->length, c->length () - table_initpos + tail_len);
|
||||
c->check_assign (this->record.len,
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue