mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 08:51:07 +01:00
Another hb_memcpy instead of strncpy use
This commit is contained in:
1 parent
cd011ceadf
commit
630f09c8b6
1 file changed
+1
-1
@@ -865,7 +865,7 @@ hb_subset_plan_create_or_fail (hb_face_t *face,
|
||||
break;
|
||||
}
|
||||
|
||||
strncpy (name_str, name_bytes.arrayZ, len);
|
||||
hb_memcpy (name_str, name_bytes.arrayZ, len);
|
||||
plan->name_table_overrides->set (name_id, hb_bytes_t (name_str, len));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user