mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-07 06:25:03 +00:00
Another hb_memcpy instead of strncpy use
This commit is contained in:
parent
cd011ceadf
commit
630f09c8b6
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue