mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 00:41:09 +01:00
[USE] Fix out-of-bounds static array access
This commit is contained in:
1 parent
260442346a
commit
f1c20e1ba5
1 file changed
+1
-1
@@ -142,7 +142,7 @@ collect_features_use (hb_ot_shape_planner_t *plan)
|
||||
map->add_gsub_pause (reorder);
|
||||
|
||||
/* "Topographical features" */
|
||||
for (unsigned int i = 0; i < ARRAY_LENGTH (other_features); i++)
|
||||
for (unsigned int i = 0; i < ARRAY_LENGTH (arabic_features); i++)
|
||||
map->add_feature (arabic_features[i], 1, F_NONE);
|
||||
map->add_gsub_pause (NULL);
|
||||
|
||||
|
||||
Reference in new issue
Block a user