mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 00:41:09 +01:00
Raise table growth limit during subsetting. Real case encountered that exceeded the current limit. Fixes #4943.
This commit is contained in:
1 parent
773fe85018
commit
0b7beefd0b
1 file changed
+1
-1
+1
-1
@@ -295,7 +295,7 @@ _try_subset (const TableType *table,
|
||||
DEBUG_MSG (SUBSET, nullptr, "OT::%c%c%c%c ran out of room; reallocating to %u bytes.",
|
||||
HB_UNTAG (c->table_tag), buf_size);
|
||||
|
||||
if (unlikely (buf_size > c->source_blob->length * 16 ||
|
||||
if (unlikely (buf_size > c->source_blob->length * 256 ||
|
||||
!buf->alloc (buf_size, true)))
|
||||
{
|
||||
DEBUG_MSG (SUBSET, nullptr, "OT::%c%c%c%c failed to reallocate %u bytes.",
|
||||
|
||||
Reference in new issue
Block a user