提交 f1c20e1b 编写于 作者: B Behdad Esfahbod

[USE] Fix out-of-bounds static array access

上级 26044234
...@@ -142,7 +142,7 @@ collect_features_use (hb_ot_shape_planner_t *plan) ...@@ -142,7 +142,7 @@ collect_features_use (hb_ot_shape_planner_t *plan)
map->add_gsub_pause (reorder); map->add_gsub_pause (reorder);
/* "Topographical features" */ /* "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_feature (arabic_features[i], 1, F_NONE);
map->add_gsub_pause (NULL); map->add_gsub_pause (NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册